mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
fixing broken pipe issue
This commit is contained in:
parent
f6f69dbbdc
commit
da3b8dc846
@ -73,9 +73,9 @@ $(window).load(function () {
|
||||
connect(websocketUrl)
|
||||
});
|
||||
|
||||
$(window).unload(function () {
|
||||
window.onbeforeunload = function() {
|
||||
disconnect();
|
||||
});
|
||||
};
|
||||
|
||||
//websocket connection
|
||||
function connect(target) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user