Explorar o código

fix reset timer

Casey DeLorme %!s(int64=5) %!d(string=hai) anos
pai
achega
702e06759c
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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) {