Browse Source

Fix overlay destruction #74 (sumomostudio)

Jay Salvat 10 years ago
parent
commit
e9a8e1e351
4 changed files with 4 additions and 2 deletions
  1. 2 1
      dist/vegas.js
  2. 1 1
      dist/vegas.min.js
  3. 0 0
      dist/vegas.min.js.map
  4. 1 0
      src/vegas.js

+ 2 - 1
dist/vegas.js

@@ -1,6 +1,6 @@
 /*!-----------------------------------------------------------------------------
  * Vegas - Fullscreen Backgrounds and Slideshows.
- * v2.1.0 - built 2015-04-02
+ * v2.1.0 - built 2015-04-08
  * Licensed under the MIT License.
  * http://vegas.jaysalvat.com/
  * ----------------------------------------------------------------------------
@@ -620,6 +620,7 @@
             this.$elmt.find('> .vegas-wrapper').clone(true).children().appendTo(this.$elmt);
             this.$elmt.find('> .vegas-wrapper').remove();
             this.$timer.remove();
+            this.$overlay.remove();
 
             this.elmt._vegas = null;
         }

File diff suppressed because it is too large
+ 1 - 1
dist/vegas.min.js


File diff suppressed because it is too large
+ 0 - 0
dist/vegas.min.js.map


+ 1 - 0
src/vegas.js

@@ -611,6 +611,7 @@
             this.$elmt.find('> .vegas-wrapper').clone(true).children().appendTo(this.$elmt);
             this.$elmt.find('> .vegas-wrapper').remove();
             this.$timer.remove();
+            this.$overlay.remove();
 
             this.elmt._vegas = null;
         }

Some files were not shown because too many files changed in this diff