fixing broken pipe issue

revert-dabc3590
Nirothipan 7 years ago
parent f6f69dbbdc
commit da3b8dc846

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

Loading…
Cancel
Save