Przeglądaj źródła

Animation duration can now be longer than slide delay

Jay Salvat 10 lat temu
rodzic
commit
3f2853d48a
1 zmienionych plików z 1 dodań i 3 usunięć
  1. 1 3
      src/vegas.js

+ 1 - 3
src/vegas.js

@@ -306,12 +306,10 @@
                 console.error("Vegas: Animation " + animation + " doesn't exist.");
             }
 
-            if (animationDuration === 'auto' || animationDuration > delay) {
+            if (animationDuration === 'auto') {
                 animationDuration = delay;
             }
 
-            console.log(animationDuration);
-
             // Video ?
 
             if (this.support.video && videos) {