Commit 7bc14373 authored by Roman Komarov's avatar Roman Komarov

Clear the console only in slide mode, fixes #125

parent 31d74111
......@@ -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();
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment