From c92702bea20c4245a8933a676399ed41fbcd1a94 Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Thu, 2 Feb 2023 14:08:36 +0100 Subject: [PATCH] chore(revealjs): add comment about RevealMenu workaround Signed-off-by: Mark Sagi-Kazar --- plugins/reveal.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/reveal.js b/plugins/reveal.js index 8011039..c7f91a7 100644 --- a/plugins/reveal.js +++ b/plugins/reveal.js @@ -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';