resolved broken pipe issue

revert-70aa11f8
lasantha 8 years ago
parent f166be7d54
commit 10e4e9a288

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

Loading…
Cancel
Save