Merge pull request #154 from shower/clear-console-only-in-slide-mode
Clear the console only in slide mode, fixes #125
This commit is contained in:
commit
612fb874bb
|
@ -721,10 +721,10 @@ window.shower = window.shower || (function(window, document, undefined) {
|
|||
};
|
||||
|
||||
/**
|
||||
* Clear presenter notes in console.
|
||||
* Clear presenter notes in console (only for Slide Mode).
|
||||
*/
|
||||
shower.clearPresenterNotes = function() {
|
||||
if (window.console && window.console.clear) {
|
||||
if (shower.isSlideMode() && window.console && window.console.clear) {
|
||||
console.clear();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue