Commit 37ffb1ea authored by miripiruni's avatar miripiruni

Fix #90: Full screen mode trigger if body class contains "full"

parent 04e3946f
...@@ -570,7 +570,7 @@ window.shower = (function(window, document, undefined) { ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment