Updated PITCHME.yaml published policy, menus now closed by default.

This commit is contained in:
David Russell 2018-01-17 14:40:10 +07:00
parent 60e1477732
commit e949568bf5
3 changed files with 0 additions and 36 deletions

View File

@ -176,11 +176,9 @@
};
function manageMenuPolicy() {
@if(ssm.published()) {
if(RevealMenu && RevealMenu.isOpen()) {
RevealMenu.toggle();
}
}
}
function upgradeAnchors() {

View File

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

View File

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