From a5a73ce326d17509c204406ed354eacdd2d65314 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 20 Jul 2017 14:41:51 +0200 Subject: [PATCH] Fix print button in slide --- www/common/common-interface.js | 1 - www/common/common-messaging.js | 1 - www/slide/main.js | 9 ++++----- www/slide/slide.js | 11 +++++++---- www/slide/slide.less | 17 ++++++++++++++++- 5 files changed, 27 insertions(+), 12 deletions(-) diff --git a/www/common/common-interface.js b/www/common/common-interface.js index 391c334a8..43c07123b 100644 --- a/www/common/common-interface.js +++ b/www/common/common-interface.js @@ -299,7 +299,6 @@ define([ var MutationObserver = window.MutationObserver; var addTippy = function (el) { if (el.nodeName === 'IFRAME') { return; } - console.log(el); Tippy(el, { position: 'bottom', distance: 0, diff --git a/www/common/common-messaging.js b/www/common/common-messaging.js index 7fb1c9707..5249a8884 100644 --- a/www/common/common-messaging.js +++ b/www/common/common-messaging.js @@ -227,7 +227,6 @@ define([ if (!isId) { return; } var decryptedMsg = channel.encryptor.decrypt(msg); - console.log(decryptedMsg); var parsed = JSON.parse(decryptedMsg); if (parsed[0] !== Types.mapId && parsed[0] !== Types.mapIdAck) { return; } if (parsed[2] !== sender || !parsed[1]) { return; } diff --git a/www/slide/main.js b/www/slide/main.js index b3347e501..480bd5921 100644 --- a/www/slide/main.js +++ b/www/slide/main.js @@ -95,7 +95,7 @@ define([ } }); - Slide.setModal(APP, $modal, $content, $pad, ifrw, slideOptions, initialState); + Slide.setModal($modal, $content, $pad, ifrw, slideOptions, initialState); var enterPresentationMode = function (shouldLog) { Slide.show(true, editor.getValue()); @@ -282,7 +282,6 @@ define([ // Slide number $('', {type: 'checkbox', id: 'checkNumber', checked: slideOptionsTmp.slide}).on('change', function () { var c = this.checked; - console.log(c); slideOptionsTmp.slide = c; }).appendTo($p).css('width', 'auto'); $('