Sometimes, but not always, I can trigger this; the card icon starts
floating about weirdly, the JS doesn't get a mouseup event, etc.,
Empirically this code seems enough to stop it.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
}
recompute_keybindings();
space.addEventListener('mousedown', some_mousedown);
+ space.addEventListener('dragstart', function (e) {
+ e.preventDefault();
+ e.stopPropagation();
+ }, true);
document.addEventListener('keydown', some_keydown);
}