Parcourir la source

Build with pull request #79

Jay Salvat il y a 10 ans
Parent
commit
7da510449e
4 fichiers modifiés avec 15 ajouts et 6 suppressions
  1. 9 3
      dist/vegas.js
  2. 1 1
      dist/vegas.min.js
  3. 0 0
      dist/vegas.min.js.map
  4. 5 2
      src/vegas.js

+ 9 - 3
dist/vegas.js

@@ -1,6 +1,6 @@
 /*!-----------------------------------------------------------------------------
  * Vegas - Fullscreen Backgrounds and Slideshows.
- * v2.1.2 - built 2015-04-15
+ * v2.1.2 - built 2015-04-28
  * Licensed under the MIT License.
  * http://vegas.jaysalvat.com/
  * ----------------------------------------------------------------------------
@@ -623,9 +623,15 @@
             this.$elmt.find('> .vegas-slide').remove();
             this.$elmt.find('> .vegas-wrapper').clone(true).children().appendTo(this.$elmt);
             this.$elmt.find('> .vegas-wrapper').remove();
-            this.$timer.remove();
-            this.$overlay.remove();
 
+            if (this.settings.timer) {
+                this.$timer.remove();
+            }
+
+            if (this.settings.overlay) {
+                this.$overlay.remove();
+            }
+            
             this.elmt._vegas = null;
         }
     };

Fichier diff supprimé car celui-ci est trop grand
+ 1 - 1
dist/vegas.min.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/vegas.min.js.map


+ 5 - 2
src/vegas.js

@@ -614,12 +614,15 @@
             this.$elmt.find('> .vegas-slide').remove();
             this.$elmt.find('> .vegas-wrapper').clone(true).children().appendTo(this.$elmt);
             this.$elmt.find('> .vegas-wrapper').remove();
+
             if (this.settings.timer) {
-              this.$timer.remove();    
+                this.$timer.remove();
             }
+
             if (this.settings.overlay) {
-              this.$overlay.remove();    
+                this.$overlay.remove();
             }
+            
             this.elmt._vegas = null;
         }
     };

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff