From 51e5b15d9011d416766f156f110f035e1586d18a Mon Sep 17 00:00:00 2001 From: miripiruni Date: Sun, 20 Jan 2013 15:36:50 +0400 Subject: [PATCH] Fixed #62: Timer should be reseted while switching to List mode --- shower.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shower.js b/shower.js index 149d730..68cbccc 100755 --- a/shower.js +++ b/shower.js @@ -280,6 +280,8 @@ window.shower = (function(window, document, undefined) { shower.enterListMode = function(callback) { var currentSlideNumber = shower.getCurrentSlideNumber(); + clearTimeout(timer); + body.classList.remove('full'); body.classList.add('list');