From 7bc143738aa32281701f879bf2ed6380c5faee2e Mon Sep 17 00:00:00 2001 From: Roman Komarov Date: Fri, 11 Oct 2013 08:29:54 +0200 Subject: [PATCH] Clear the console only in slide mode, fixes #125 --- shower.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shower.js b/shower.js index 8c225e3..80d9d98 100755 --- a/shower.js +++ b/shower.js @@ -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(); } };