diff options
(presentation) Big overhaul, presentation.css is now always included, loading an article-mode page happens without slides flash, fixed certain cases where slides wouldn't resize but needed to
1 files changed, 5 insertions, 0 deletions
| -rw-r--r-- | src/scripts/styling-preload.js | 5 |
diff --git a/src/scripts/styling-preload.js b/src/scripts/styling-preload.js index c73a6b3..db87911 100644 --- a/src/scripts/styling-preload.js +++ b/src/scripts/styling-preload.js @@ -6,3 +6,8 @@ if (localStorage.getItem('theme') === 'light') /* No JS */ const hideJSStylings = document.styleSheets[2]; hideJSStylings.disabled = true; + +/* Presentation */ +const presentationStyle = document.styleSheets[3]; +if (window.location.href.indexOf('?a') > -1) + presentationStyle.disabled = true; |