Archived
1
0

start adding move by drag to reply box

This commit is contained in:
Jeff Becker
2016-04-30 13:18:17 -04:00
parent 9019bf2e9a
commit 3710ed884e
2 changed files with 8 additions and 1 deletions

View File

@@ -257,5 +257,12 @@ function inject_hover_for_element(elem) {
function init(prefix) {
// inject posthover ...
inject_hover_for_element(document);
// dynamic post reply draggable
var rpl = getReplyTo();
var e = rpl.elem;
e.setAttribute("draggable", "true");
e.ondragover = function(ev) {
console.log(ev);
}
}