mirror of https://github.com/huashengdun/webssh
Changed semicolon into comma
parent
ec57a9137a
commit
c2fc9bff79
|
@ -28,7 +28,7 @@ jQuery(function($){
|
||||||
|
|
||||||
var ws_url = window.location.href.replace('http', 'ws'),
|
var ws_url = window.location.href.replace('http', 'ws'),
|
||||||
join = (ws_url[ws_url.length-1] == '/' ? '' : '/'),
|
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),
|
socket = new WebSocket(url),
|
||||||
terminal = document.getElementById('#terminal'),
|
terminal = document.getElementById('#terminal'),
|
||||||
term = new Terminal({cursorBlink: true});
|
term = new Terminal({cursorBlink: true});
|
||||||
|
|
Loading…
Reference in New Issue