mirror of
https://github.com/unraid/webgui.git
synced 2026-05-09 05:41:17 -05:00
Remove Nchan error detection
Rely on the automatic reconnect of Nchan to re-establish connections when communication is slow
This commit is contained in:
@@ -663,9 +663,6 @@ defaultPage.on('message', function(msg,meta) {
|
||||
break;
|
||||
}
|
||||
});
|
||||
defaultPage.on('error', function(code,error) {
|
||||
swal({title:"<?=_('Nchan communication error')?>", text:"<?=_('Page will be reloaded')?>", type:"warning", html:true, confirmButtonText:"<?=_('Ok')?>"},function(){setTimeout(refresh,50);});
|
||||
});
|
||||
|
||||
var backtotopoffset = 250;
|
||||
var backtotopduration = 500;
|
||||
|
||||
Reference in New Issue
Block a user