Clear the console only in slide mode, fixes #125

This commit is contained in:
Roman Komarov 2013-10-11 08:29:54 +02:00
parent 31d7411198
commit 7bc143738a
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();
}
};