7 lines
162 B
JavaScript
7 lines
162 B
JavaScript
|
var cs = new NsClient();
|
||
|
cs.init();
|
||
|
document.getElementById('reconnect').addEventListener('click', function() {
|
||
|
cs.disconnect();
|
||
|
cs.connect();
|
||
|
}, false);
|