This commit is contained in:
Anna Sudnitsina 2018-03-26 22:25:41 +03:00
parent af79df461b
commit 02e74ec082
2 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,7 @@ $(function() {
$('.tablink').css('display', 'block')
// var ws = new WebSocket('{{escape(ws)}}');
var cluster, selected_node, deadNode, node2;
// var cluster, selected_node, deadNode, node2;
// ws.onopen = function() {ws.send(""); };
// ws.onmessage = function (evt) {
// cluster = JSON.parse(evt.data);

View File

@ -85,8 +85,7 @@
</body>
<script>
var ws = new WebSocket('{{escape(ws)}}');
var cluster;
// var cluster, selected_node, deadNode, node2;
var cluster, selected_node, deadNode, node2;
ws.onopen = function() {ws.send(""); };
ws.onmessage = function (evt) {
cluster = JSON.parse(evt.data);