Преглед изворни кода

Animation duration can now be longer than slide delay

Jay Salvat пре 10 година
родитељ
комит
3f2853d48a
1 измењених фајлова са 1 додато и 3 уклоњено
  1. 1 3
      src/vegas.js

+ 1 - 3
src/vegas.js

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