Archived
1
0

add px to style

This commit is contained in:
Jeff Becker
2016-04-30 13:31:03 -04:00
parent d59cb4f9a8
commit ac4eb96a69
2 changed files with 2 additions and 2 deletions

View File

@@ -265,7 +265,7 @@ function init(prefix) {
e.ondragend = function(ev) {
ev.preventDefault();
var el = document.getElementById("postform_container");
el.setAttribute("style", "top: "+ev.y+"; left: "+ev.x+ "; position: fixed; ");
el.setAttribute("style", "top: "+ev.y+"px; left: "+ev.x+ "px; position: fixed; ");
}
}