diff --git a/src/gui/html/js/dom.js b/src/gui/html/js/dom.js index 70cf19bd..7c5458d4 100644 --- a/src/gui/html/js/dom.js +++ b/src/gui/html/js/dom.js @@ -220,7 +220,8 @@ case that has happened. */ window.getSelection().removeAllRanges(); - if (document.body.getAttribute('data-state') !== 'editing') { + if (document.body.getAttribute('data-state') !== 'editing' + && document.body.getAttribute('data-state') !== 'sorting') { document.getElementById(evt.target.getAttribute('data-id')).onShowEditor(); } }