Explorar el Código

Fix the destroy() error

Jay Salvat hace 13 años
padre
commit
e54a849b1b
Se han modificado 1 ficheros con 1 adiciones y 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') {