Merge pull request #111 from miripiruni/master

Fixed #62: Timer should be reseted while switching to List mode
This commit is contained in:
Vadim Makeev 2013-01-20 03:39:28 -08:00
commit 6a9c68b8e9
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');