diff --git a/app/com/gitpitch/views/frags/SlideshowReveal.scala.html b/app/com/gitpitch/views/frags/SlideshowReveal.scala.html index e7e3d42..1e65a10 100644 --- a/app/com/gitpitch/views/frags/SlideshowReveal.scala.html +++ b/app/com/gitpitch/views/frags/SlideshowReveal.scala.html @@ -103,6 +103,7 @@ }); Reveal.addEventListener('ready', function(evt) { + if (evt.indexh === 0 && evt.indexv === 0) { pushHelpNotification(); } else { @@ -110,6 +111,10 @@ } }); + Reveal.addEventListener('menu-ready', function(evt) { + manageMenuPolicy(); + }); + Reveal.addEventListener('slidechanged', function(evt) { if (evt.indexh === 0 && evt.indexv === 0) { pushHelpNotification(); @@ -163,6 +168,14 @@ Reveal.removeEventListeners(); }; + function manageMenuPolicy() { + @if(ssm.published()) { + if(RevealMenu && RevealMenu.isOpen()) { + RevealMenu.toggle(); + } + } + } + @if(ssm.remoteControlEnabled()) {