We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b8f4bc commit a645f28Copy full SHA for a645f28
public/js/slide.js
@@ -132,6 +132,6 @@ Reveal.addEventListener('ready', event => {
132
})
133
Reveal.addEventListener('slidechanged', renderSlide)
134
135
-const isMacLike = !!navigator.platform.match(/(Mac|iPhone|iPod|iPad)/i)
+const isWinLike = navigator.platform.indexOf('Win') > -1
136
137
-if (!isMacLike) $('.container').addClass('hidescrollbar')
+if (isWinLike) $('.container').addClass('hidescrollbar')
0 commit comments