浏览代码

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.");
             }
 
-            if (animationDuration === 'auto' || animationDuration > delay) {
+            if (animationDuration === 'auto') {
                 animationDuration = delay;
             }
 
-            console.log(animationDuration);
-
             // Video ?
 
             if (this.support.video && videos) {