Commit 612fb874 authored by Vadim Makeev's avatar Vadim Makeev

Merge pull request #154 from shower/clear-console-only-in-slide-mode

Clear the console only in slide mode, fixes #125
parents 31d74111 7bc14373
...@@ -721,10 +721,10 @@ window.shower = window.shower || (function(window, document, undefined) { ...@@ -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();
} }
}; };
......
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