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 4c426cffe..fd5f55f88 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; } @@ -341,7 +340,7 @@ define([ });*/ var onKeyDown = function (e) { if (e.keyCode === 13) { - if (e.ctrlKey) { + if (e.ctrlKey || e.shiftKey) { var val = this.value; if (typeof this.selectionStart === "number" && typeof this.selectionEnd === "number") { var start = this.selectionStart; diff --git a/www/pad/main.js b/www/pad/main.js index 4a4c87fa0..58c48b699 100644 --- a/www/pad/main.js +++ b/www/pad/main.js @@ -549,7 +549,7 @@ define([ var $templateButton = Cryptpad.createButton('template', true, templateObj); $rightside.append($templateButton); } -console.log('init'); + /* add an export button */ var $export = Cryptpad.createButton('export', true, {}, exportFile); $drawer.append($export); 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'); $('