summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/js/slide.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/slide.js b/public/js/slide.js
index 9dfda65b..293ebfe2 100644
--- a/public/js/slide.js
+++ b/public/js/slide.js
@@ -132,6 +132,6 @@ Reveal.addEventListener('ready', event => {
})
Reveal.addEventListener('slidechanged', renderSlide)
-const isMacLike = !!navigator.platform.match(/(Mac|iPhone|iPod|iPad)/i)
+const isWinLike = navigator.platform.indexOf('Win') > -1
-if (!isMacLike) $('.container').addClass('hidescrollbar')
+if (isWinLike) $('.container').addClass('hidescrollbar')