浏览代码

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') {