瀏覽代碼

fix reset timer

Casey DeLorme 5 年之前
父節點
當前提交
702e06759c
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      show.js

+ 2 - 1
show.js

@@ -33,7 +33,8 @@
 
 	Show.prototype.prev = function() {
 		if (!this.loaded) return;
-		if (--this.index < 0) this.index = this.list.length-1; this.elapsed = 0;
+		if (--this.index < 0) this.index = this.list.length-1;
+		this.elapsed = 0;
 	};
 
 	Show.prototype.format = function(f, a) {