aboutsummaryrefslogtreecommitdiff
path: root/juick-ws/src/main/static/scripts.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-07-26 00:37:02 +0300
committerGravatar Vitaly Takmazov2016-07-27 13:57:34 +0300
commitc9dad692e18a7a36550c65b591640929d0352df0 (patch)
tree501ef5e5fac55772669e3f91e11354c2d4d78ae3 /juick-ws/src/main/static/scripts.js
parent5b6aadf87a9e6c708f56cd683997fdffbaa65a7b (diff)
terminal: small fixes
Diffstat (limited to 'juick-ws/src/main/static/scripts.js')
-rw-r--r--juick-ws/src/main/static/scripts.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-ws/src/main/static/scripts.js b/juick-ws/src/main/static/scripts.js
index 1a212563..3a7e4a5f 100644
--- a/juick-ws/src/main/static/scripts.js
+++ b/juick-ws/src/main/static/scripts.js
@@ -21,7 +21,7 @@ function refreshStatus() {
}, 5000);
}
-function keepalive() {
+function keepalive(ws) {
setTimeout(function() {
ws.send(" ");
keepalive();
@@ -42,5 +42,5 @@ ready(function() {
term.output("<br/>" + JSON.stringify(JSON.parse(msg.data), null, 2));
}
refreshStatus();
- keepalive();
+ keepalive(ws);
}) \ No newline at end of file