소스 검색

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') {
             if ( !what || what == 'background') {
                 $( '.vegas-background, .vegas-loading' ).remove();
                 $( '.vegas-background, .vegas-loading' ).remove();
                 $( window ).unbind( 'resize.vegas' );
                 $( window ).unbind( 'resize.vegas' );
-                $current = null;
+                $current = $();
             }
             }
 
 
             if ( what == 'overlay') {
             if ( what == 'overlay') {