|
@@ -1641,21 +1641,20 @@
|
|
* help is open, false means it's closed.
|
|
* help is open, false means it's closed.
|
|
*/
|
|
*/
|
|
function toggleHelp( override ){
|
|
function toggleHelp( override ){
|
|
-
|
|
|
|
|
|
+
|
|
if( typeof override === 'boolean' ) {
|
|
if( typeof override === 'boolean' ) {
|
|
- override ? showHelp( true ) : closeOverlay();
|
|
|
|
|
|
+ override ? showHelp() : closeOverlay();
|
|
}
|
|
}
|
|
- else {
|
|
|
|
|
|
+ else {
|
|
if( dom.overlay ) {
|
|
if( dom.overlay ) {
|
|
closeOverlay();
|
|
closeOverlay();
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
- showHelp( true );
|
|
|
|
|
|
+ showHelp();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
* Opens an overlay window with help material.
|
|
* Opens an overlay window with help material.
|
|
*/
|
|
*/
|
|
@@ -4878,10 +4877,6 @@
|
|
navigatePrev: navigatePrev,
|
|
navigatePrev: navigatePrev,
|
|
navigateNext: navigateNext,
|
|
navigateNext: navigateNext,
|
|
|
|
|
|
- // Shows a help overlay with keyboard shortcuts
|
|
|
|
- showHelp: showHelp,
|
|
|
|
- toggleHelp: toggleHelp,
|
|
|
|
-
|
|
|
|
// Forces an update in slide layout
|
|
// Forces an update in slide layout
|
|
layout: layout,
|
|
layout: layout,
|
|
|
|
|
|
@@ -4894,6 +4889,9 @@
|
|
// Returns an object with the available fragments as booleans (prev/next)
|
|
// Returns an object with the available fragments as booleans (prev/next)
|
|
availableFragments: availableFragments,
|
|
availableFragments: availableFragments,
|
|
|
|
|
|
|
|
+ // Toggles a help overlay with keyboard shortcuts
|
|
|
|
+ toggleHelp: toggleHelp,
|
|
|
|
+
|
|
// Toggles the overview mode on/off
|
|
// Toggles the overview mode on/off
|
|
toggleOverview: toggleOverview,
|
|
toggleOverview: toggleOverview,
|
|
|
|
|