Browse Source

fix reset timer

Casey DeLorme 5 years ago
parent
commit
702e06759c
1 changed files with 2 additions and 1 deletions
  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) {