From 8af8f565bebcc44e0006a7a78f6f9048ce7017ed Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 22 Sep 2020 10:29:53 +1000 Subject: [PATCH] allow dragging of images in review screen again when we were using webkit+file URLs, this deleted files from the media folder! But we're behind a HTTP server now, so this should be safe. https://forums.ankiweb.net/t/no-longer-able-to-copy-latex-output/3128/5 originally disabled in dd4bae6e8d68b531227d09434279a6d9c969252b --- qt/ts/src/reviewer.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/qt/ts/src/reviewer.ts b/qt/ts/src/reviewer.ts index 87fdce76dbe..59af20643c3 100644 --- a/qt/ts/src/reviewer.ts +++ b/qt/ts/src/reviewer.ts @@ -48,9 +48,6 @@ function _updateQA(html, fadeTime, onupdate, onshown) { } _runHook(onUpdateHook); - // don't allow drags of images, which cause them to be deleted - $("img").attr("draggable", "false"); - // render mathjax MathJax.Hub.Queue(["Typeset", MathJax.Hub]);