use prevent default in drag
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user