Merge pull request #756 from Nirothipan/master

fixing broken pipe issue for rasperry pi real time graph .
revert-dabc3590
Madhawa Perera 8 years ago committed by GitHub
commit b96fb5f748

@ -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