summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-07-13 05:52:50 +0000
committerDevaev Maxim <[email protected]>2018-07-13 05:52:50 +0000
commit30f7fc052e3a231abb6b1f1aabeb71172a6ccd9b (patch)
treed526f59684ab89726cae6fe7376a3ca0de1a9617
parent1f02b77f662e3ba6a4d66e7c037dba334874d1db (diff)
move_to -> to
-rw-r--r--kvmd/web/js/kvmd.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/web/js/kvmd.js b/kvmd/web/js/kvmd.js
index 489d70d1..ce4f6acf 100644
--- a/kvmd/web/js/kvmd.js
+++ b/kvmd/web/js/kvmd.js
@@ -109,7 +109,7 @@ function __handleMouseMove(ws) {
if (pos.x != __handleMouseMove.old_pos.x || pos.y != __handleMouseMove.old_pos.y) {
ws.send(JSON.stringify({
event_type: "mouse_move",
- move_to: pos,
+ to: pos,
}));
__handleMouseMove.old_pos = pos;
}