mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 23:24:46 -04:00
Update to hide scrollbar (but scrollable) in the slide mode
This commit is contained in:
parent
29d198def9
commit
058c35730b
3 changed files with 49 additions and 25 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue