From c2fc9bff792b21c29dec63cc283c06dfd74928c7 Mon Sep 17 00:00:00 2001 From: Sheng Date: Thu, 7 Dec 2017 19:23:21 +0800 Subject: [PATCH] Changed semicolon into comma --- static/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/main.js b/static/js/main.js index b25ae13..8caf785 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -28,7 +28,7 @@ jQuery(function($){ var ws_url = window.location.href.replace('http', 'ws'), join = (ws_url[ws_url.length-1] == '/' ? '' : '/'), - url = ws_url + join + 'ws?id=' + msg.id; + url = ws_url + join + 'ws?id=' + msg.id, socket = new WebSocket(url), terminal = document.getElementById('#terminal'), term = new Terminal({cursorBlink: true});