Browse Source

fix reset timer

Casey DeLorme 5 năm trước cách đây
mục cha
commit
702e06759c
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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) {