Imesh Chandrasiri 8 years ago
commit 121a9944fd

@ -73,9 +73,9 @@ $(window).load(function () {
connect(websocketUrl)
});
$(window).unload(function () {
window.onbeforeunload = function() {
disconnect();
});
};
//websocket connection
function connect(target) {

Loading…
Cancel
Save