Explorar o código

Fix the destroy() error

Jay Salvat %!s(int64=13) %!d(string=hai) anos
pai
achega
e54a849b1b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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') {