From 37ffb1ea13e0c6f01fa6f696edbc08f13719c7b1 Mon Sep 17 00:00:00 2001 From: miripiruni Date: Sun, 20 Jan 2013 14:17:03 +0400 Subject: [PATCH] Fix #90: Full screen mode trigger if body class contains "full" --- shower.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shower.js b/shower.js index 799fe8f..00f71b0 100755 --- a/shower.js +++ b/shower.js @@ -570,7 +570,7 @@ window.shower = (function(window, document, undefined) { // Event handlers window.addEventListener('DOMContentLoaded', function() { - if (shower.isSlideMode()) { + if (body.classList.contains('full')) { shower.enterSlideMode(); } }, false);