Skip to content

Commit

Permalink
chore(revealjs): add comment about RevealMenu workaround
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
  • Loading branch information
sagikazarmark authored and astefanutti committed Feb 2, 2023
1 parent d1f450a commit c92702b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/reveal.js
Expand Up @@ -38,6 +38,8 @@ class Reveal {
transition: 'none'
});

// This is a workaround to disable the open button of the RevealMenu plugin.
// See the following issue for more details: https://github.com/denehyg/reveal.js-menu/issues/99
var menuOpenButtons = document.getElementsByClassName('slide-menu-button');
for (var i = 0; i < menuOpenButtons.length; i++) {
menuOpenButtons[i].style.display = 'none';
Expand Down

0 comments on commit c92702b

Please sign in to comment.