Archived
1
0
This commit is contained in:
Jeff Becker
2016-04-30 13:25:29 -04:00
parent 6fddac0245
commit a1142aa670
2 changed files with 4 additions and 3 deletions

View File

@@ -264,8 +264,9 @@ function init(prefix) {
e.setAttribute("draggable", "true");
e.ondragend = function(ev) {
console.log(ev);
e.style.top = ev.y;
e.style.left = ev.x;
var el = document.getElementById("postform_container");
el.style.top = "" + ev.y;
el.style.left = "" + ev.x;
}
}