Merge pull request #111 from miripiruni/master
Fixed #62: Timer should be reseted while switching to List mode
This commit is contained in:
commit
6a9c68b8e9
|
@ -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