diff --git a/aqt/editor.py b/aqt/editor.py index 1de8934ea..42f346dcc 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -201,20 +201,6 @@ function showDupes() { function hideDupes() { $("#dupes").hide(); } - -$(function () { - // ignore drops outside the editable area - document.body.ondragover = function () { - e = window.event.srcElement; - do { - if (e.contentEditable == "true") { - return; - } - e = window.parentNode; - } while (e); - window.event.preventDefault(); - } -});
%s