mirror of
https://github.com/ankitects/anki.git
synced 2025-11-12 15:47:12 -05:00
Revert "workaround for some drags not being accepted"
This reverts commit 99009be1ca.
didn't fix user's problem, and has introduced issues with the cursor
disappearing
This commit is contained in:
parent
a617be1779
commit
e7046ba398
1 changed files with 0 additions and 3 deletions
|
|
@ -162,9 +162,6 @@ function focusPrevious() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function onDragOver(elem) {
|
function onDragOver(elem) {
|
||||||
var e = window.event;
|
|
||||||
e.dataTransfer.dropEffect = "copy";
|
|
||||||
e.preventDefault();
|
|
||||||
// if we focus the target element immediately, the drag&drop turns into a
|
// if we focus the target element immediately, the drag&drop turns into a
|
||||||
// copy, so note it down for later instead
|
// copy, so note it down for later instead
|
||||||
dropTarget = elem;
|
dropTarget = elem;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue