Archived
1
0

use prevent default in drag

This commit is contained in:
Jeff Becker
2016-04-30 16:23:13 -04:00
parent 68a83205ab
commit b1c1e4fab3
2 changed files with 3 additions and 1 deletions

View File

@@ -332,6 +332,7 @@ function init(prefix) {
e.addEventListener("dragstart", function(ev) {
mouseDownX = ev.clientX;
mouseDownY = ev.clientY;
ev.preventDefault();
}, false);
e.addEventListener("dragend", function(ev) {
@@ -342,6 +343,7 @@ function init(prefix) {
rpl.moveTo(x, y);
originalX = x;
originalY = y;
ev.preventDefault();
}, false);
// add replyto post handlers