Clear the console only in slide mode, fixes #125
This commit is contained in:
parent
31d7411198
commit
7bc143738a
|
@ -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() {
|
shower.clearPresenterNotes = function() {
|
||||||
if (window.console && window.console.clear) {
|
if (shower.isSlideMode() && window.console && window.console.clear) {
|
||||||
console.clear();
|
console.clear();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue