* fixed an bug in my.js.

This commit is contained in:
Catouse
2014-06-11 17:36:07 +08:00
parent 8830c79df0
commit 17838c114a
+1 -3
View File
@@ -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();
}