Fixed #62: Timer should be reseted while switching to List mode

This commit is contained in:
miripiruni 2013-01-20 15:36:50 +04:00
parent f65f61bef5
commit 51e5b15d90
1 changed files with 2 additions and 0 deletions

View File

@ -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');