Archived
1
0

use alt+click drag for moving reply box

This commit is contained in:
Jeff Becker
2016-04-30 16:25:27 -04:00
parent b1c1e4fab3
commit 2eefe2e301
2 changed files with 7 additions and 3 deletions

View File

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