Fix for F5
This commit is contained in:
parent
c5515e371b
commit
c9afcfcf1d
|
@ -807,14 +807,17 @@ window.shower = window.shower || (function(window, document, undefined) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
if (shower.isListMode()) {
|
if (shower.isListMode()) {
|
||||||
var slideNumber = e.shiftKey ? currentSlideNumber : 0;
|
var slideNumber = e.shiftKey ? currentSlideNumber : 0,
|
||||||
|
slide;
|
||||||
|
|
||||||
// Warning: go must be before enterSlideMode.
|
// Warning: go must be before enterSlideMode.
|
||||||
// Otherwise there is a bug in Chrome
|
// Otherwise there is a bug in Chrome
|
||||||
shower.go(slideNumber);
|
shower.go(slideNumber);
|
||||||
shower.enterSlideMode();
|
shower.enterSlideMode();
|
||||||
shower.showPresenterNotes(slideNumber);
|
shower.showPresenterNotes(slideNumber);
|
||||||
shower.slideList[slideNumber].process(shower);
|
slide = shower.slideList[currentSlideNumber];
|
||||||
|
|
||||||
|
slide.timing && slide.initTimer(shower);
|
||||||
} else {
|
} else {
|
||||||
shower.enterListMode();
|
shower.enterListMode();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue