diff options
-rw-r--r-- | proto.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -241,5 +241,5 @@ function drop(target, e) { var id = e.dataTransfer.getData('Text'); var task = document.getElementById(id); - socket_task.send("move " + id.substring(5, id.length) + " " + target.id.substring(5, target.id.length) + ";"); + socket_task.send("move " + id.substring(12, id.length) + " " + target.id.substring(12, target.id.length) + ";"); } |