diff --git a/Application/Home/View/default/Game/index.html b/Application/Home/View/default/Game/index.html index 45866e391..64f95b56a 100644 --- a/Application/Home/View/default/Game/index.html +++ b/Application/Home/View/default/Game/index.html @@ -586,13 +586,15 @@ function isImg(src) { var img = new Image(); img.src = src; - return true; + if (img.fileSize > 0) { + return true + } + return false } function getGameLogo(obj) { var logo = null; var logoSrc = $(obj).parents('.game-li').eq(0).find('.img-box').children('img').attr('src'); - console.log(isImg(logoSrc)) if (isImg(logoSrc)) { logo = $(obj).parents('.game-li').eq(0).find('.img-box').children('img')[0] } else {