Fix #90: Full screen mode trigger if body class contains "full"
This commit is contained in:
parent
04e3946f1f
commit
37ffb1ea13
|
@ -570,7 +570,7 @@ window.shower = (function(window, document, undefined) {
|
||||||
// Event handlers
|
// Event handlers
|
||||||
|
|
||||||
window.addEventListener('DOMContentLoaded', function() {
|
window.addEventListener('DOMContentLoaded', function() {
|
||||||
if (shower.isSlideMode()) {
|
if (body.classList.contains('full')) {
|
||||||
shower.enterSlideMode();
|
shower.enterSlideMode();
|
||||||
}
|
}
|
||||||
}, false);
|
}, false);
|
||||||
|
|
Loading…
Reference in New Issue