Browse Source

Fix the destroy() error

Jay Salvat 13 năm trước cách đây
mục cha
commit
e54a849b1b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      jquery.vegas.js

+ 1 - 1
jquery.vegas.js

@@ -119,7 +119,7 @@
             if ( !what || what == 'background') {
                 $( '.vegas-background, .vegas-loading' ).remove();
                 $( window ).unbind( 'resize.vegas' );
-                $current = null;
+                $current = $();
             }
 
             if ( what == 'overlay') {