diff --git a/app/com/gitpitch/views/frags/SlideshowReveal.scala.html b/app/com/gitpitch/views/frags/SlideshowReveal.scala.html index d39bec5..90d6b3d 100644 --- a/app/com/gitpitch/views/frags/SlideshowReveal.scala.html +++ b/app/com/gitpitch/views/frags/SlideshowReveal.scala.html @@ -176,11 +176,9 @@ }; function manageMenuPolicy() { - @if(ssm.published()) { if(RevealMenu && RevealMenu.isOpen()) { RevealMenu.toggle(); } - } } function upgradeAnchors() { diff --git a/public/libs/reveal.js/3.5.0/plugin/menu/menu-mod.js b/public/libs/reveal.js/3.5.0/plugin/menu/menu-mod.js index 28b6cbe..1c355a4 100644 --- a/public/libs/reveal.js/3.5.0/plugin/menu/menu-mod.js +++ b/public/libs/reveal.js/3.5.0/plugin/menu/menu-mod.js @@ -745,23 +745,6 @@ var RevealMenu = window.RevealMenu || (function(){ }); } - /* - * The menu should be opened by default only when the - * following set conditions are met: - * - * 1. Presentation not open in speaker notes window. - * 2. Presentation not embedded within an iFrame. - * 1. Presentation displayed within window.width > 1023px. - * - * Note, "receiver" on window.location indicates the - * presentation is open in the speaker-notes window. - */ - if(!window.location.search.match(/receiver/gi) && - (window.top === window.self) && - (window.innerWidth > 1023)) { - openMenu(); - } - initialised = true; } diff --git a/public/libs/reveal.js/3.6.0/plugin/menu/menu-mod.js b/public/libs/reveal.js/3.6.0/plugin/menu/menu-mod.js index 28b6cbe..1c355a4 100644 --- a/public/libs/reveal.js/3.6.0/plugin/menu/menu-mod.js +++ b/public/libs/reveal.js/3.6.0/plugin/menu/menu-mod.js @@ -745,23 +745,6 @@ var RevealMenu = window.RevealMenu || (function(){ }); } - /* - * The menu should be opened by default only when the - * following set conditions are met: - * - * 1. Presentation not open in speaker notes window. - * 2. Presentation not embedded within an iFrame. - * 1. Presentation displayed within window.width > 1023px. - * - * Note, "receiver" on window.location indicates the - * presentation is open in the speaker-notes window. - */ - if(!window.location.search.match(/receiver/gi) && - (window.top === window.self) && - (window.innerWidth > 1023)) { - openMenu(); - } - initialised = true; }