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:
Vadim Makeev 2013-10-12 10:39:48 -07:00
commit 612fb874bb
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}
};