try fix
This commit is contained in:
@@ -392,23 +392,12 @@ function init(prefix) {
|
||||
e.addEventListener("drag", function(ev) {
|
||||
if(ev.shiftKey) {
|
||||
rpl.translate(ev.offsetX, ev.offsetY);
|
||||
ev.preventDefault();
|
||||
} else {
|
||||
ev.preventDefault();
|
||||
}
|
||||
}, false);
|
||||
|
||||
e.addEventListener("dragend", function(ev) {
|
||||
return;
|
||||
var rpl = getReplyTo();
|
||||
console.log(mouseDownX, mouseDownY, rpl);
|
||||
var ox = rpl.getX();
|
||||
var oy = rpl.getY();
|
||||
var dx = ox + ev.screenX - mouseDownX;
|
||||
var dy = oy + ev.screenY - mouseDownY;
|
||||
console.log(ox, oy, dx, dy);
|
||||
rpl.translate(dx, dy);
|
||||
}, false);
|
||||
|
||||
// add replyto post handlers
|
||||
e = document.getElementById("postform_submit");
|
||||
var postit = function() {
|
||||
|
Reference in New Issue
Block a user