Fix Ad_Banner Image loading bug

This commit is contained in:
Manson Wang 2013-10-09 14:45:28 +08:00
parent 2490668d06
commit c12214f30f
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ function ajax_load_proc(wapper,url,isBanner){
function BannerCycle(banner_index){
var banner = banners[banner_index];
if (!!$.prototype.cycle && (banner.image_loaded==banner.image_count)){
if (!!$.prototype.cycle && (banner.image_loaded==$(banner.banner_name+" img").length)){
$(banner.banner_name).ready(function() {
$(banner.banner_name).cycle({
delay: -1000,