Skip to content

Commit

Permalink
allow dragging of images in review screen again
Browse files Browse the repository at this point in the history
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
dd4bae6
  • Loading branch information
dae committed Sep 22, 2020
1 parent 6c68921 commit 8af8f56
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions qt/ts/src/reviewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]);

Expand Down

0 comments on commit 8af8f56

Please sign in to comment.