Fixed regressions: Inner navigation doesnt work with tap next, Timer is not disabled by tap prev

This commit is contained in:
miripiruni 2013-05-07 21:23:12 +04:00
parent 9d29b9b973
commit 7473e93c4a
1 changed files with 3 additions and 3 deletions

View File

@ -815,7 +815,7 @@ window.shower = window.shower || (function(window, document, undefined) {
shower.go(slideNumber); shower.go(slideNumber);
shower.enterSlideMode(); shower.enterSlideMode();
shower.showPresenterNotes(slideNumber); shower.showPresenterNotes(slideNumber);
slide = shower.slideList[currentSlideNumber]; slide = shower.slideList[currentSlideNumber];
slide.timing && slide.initTimer(shower); slide.timing && slide.initTimer(shower);
} else { } else {
@ -913,9 +913,9 @@ window.shower = window.shower || (function(window, document, undefined) {
x = e.touches[0].pageX; x = e.touches[0].pageX;
if (x > window.innerWidth / 2) { if (x > window.innerWidth / 2) {
shower.next(); shower._turnNextSlide();
} else { } else {
shower.previous(); shower._turnPreviousSlide();
} }
} }