From 8de01dc68f427872413767d645e57fa076fe9237 Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Sat, 14 Nov 2020 08:18:10 +0100 Subject: [PATCH] Remove debug logging --- editor/src/editor.js | 1 - list-editor/index.js | 1 - 2 files changed, 2 deletions(-) diff --git a/editor/src/editor.js b/editor/src/editor.js index 1a3a3ce..796c0f9 100644 --- a/editor/src/editor.js +++ b/editor/src/editor.js @@ -131,7 +131,6 @@ function showSearchResultsExtended(element, template, searchTool, query, input, let $ul = el('ul', _.map(results, (hit, i) => { - console.log(hit) const li = el('li', [document.createTextNode(hit.item.label || hit.item.title)]) if (selectedPos === i) li.classList.add('selected') li.dataset['new_page'] = hit.item.title diff --git a/list-editor/index.js b/list-editor/index.js index 4e35541..86db1d0 100644 --- a/list-editor/index.js +++ b/list-editor/index.js @@ -659,7 +659,6 @@ function editor(root, inputData, options) { } $(root).on('keydown', function (event) { - console.log('editing: ' + editing) if (editing) { return editorKeymap.handleKey(EDITOR, event) } else {