From 17838c114abccfe2ddfa7cbddc3c699c38b441e7 Mon Sep 17 00:00:00 2001 From: Catouse Date: Wed, 11 Jun 2014 17:36:07 +0800 Subject: [PATCH] * fixed an bug in my.js. --- www/js/my.full.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/www/js/my.full.js b/www/js/my.full.js index f52a8e5f9e..5f7bbd81ce 100644 --- a/www/js/my.full.js +++ b/www/js/my.full.js @@ -951,7 +951,7 @@ function setModal() { if(this.readyState && this.readyState != 'complete') return; - if(!modal.hasClass('modal-loading')) return; + if(modal.data('first') && (!modal.hasClass('modal-loading'))) return; if(!modal.data('first')) modal.addClass('modal-loading'); if(options.waittime > 0) @@ -1056,8 +1056,6 @@ function setModal() } $.extend({modalTrigger: showIframeModal}); - - $('[data-toggle=modal], a.iframe').modalTrigger(); }