chore(revealjs): add comment about RevealMenu workaround

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
Mark Sagi-Kazar 2023-02-02 14:08:36 +01:00 committed by Antonin Stefanutti
parent d1f450a37b
commit c92702bea2

View File

@ -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';