summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/js/slide.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/public/js/slide.js b/public/js/slide.js
index bdd8b3be..5b0f9bd0 100644
--- a/public/js/slide.js
+++ b/public/js/slide.js
@@ -110,3 +110,7 @@ Reveal.addEventListener('ready', function (event) {
}, 0);
});
Reveal.addEventListener('slidechanged', renderSlide);
+
+var isMacLike = navigator.platform.match(/(Mac|iPhone|iPod|iPad)/i) ? true : false;
+
+if (!isMacLike) $('.container').addClass('hidescrollbar');