Commit 51e5b15d authored by miripiruni's avatar miripiruni

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

parent f65f61be
...@@ -280,6 +280,8 @@ window.shower = (function(window, document, undefined) { ...@@ -280,6 +280,8 @@ window.shower = (function(window, document, undefined) {
shower.enterListMode = function(callback) { shower.enterListMode = function(callback) {
var currentSlideNumber = shower.getCurrentSlideNumber(); var currentSlideNumber = shower.getCurrentSlideNumber();
clearTimeout(timer);
body.classList.remove('full'); body.classList.remove('full');
body.classList.add('list'); body.classList.add('list');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment