소스 검색

Autoplay Enabled - Jump to a specific slide fix #150 (hexplor)

Jay Salvat 6 년 전
부모
커밋
59b05b8818
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      dist/vegas.js

+ 5 - 1
dist/vegas.js

@@ -541,7 +541,11 @@
         },
 
         _end: function () {
-            this.ended = true;
+            if (this.settings.autoplay) {
+                this.ended = false;
+            } else {
+                this.ended = true;
+            }
             this._timer(false);
             this.trigger('end');
         },