Fixed #62: Timer should be reseted while switching to List mode
This commit is contained in:
parent
f65f61bef5
commit
51e5b15d90
|
@ -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');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue