Parcourir la source

fix reset timer

Casey DeLorme il y a 5 ans
Parent
commit
702e06759c
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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) {