ソースを参照

Fix the destroy() error

Jay Salvat 13 年 前
コミット
e54a849b1b
1 ファイル変更1 行追加1 行削除
  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') {