fix embed reloading stream if monitor state changes

fix-timezone-by-ui
Moe 2022-10-08 17:55:13 -07:00
parent 7e3f9589d8
commit 43bdaabb19
1 changed files with 1 additions and 7 deletions

View File

@ -608,13 +608,7 @@ $(document).ready(function(e){
closeLiveGridPlayer(monitorId,(d.f === 'monitor_watch_off'))
break;
case'monitor_status':
if(
tabTree.name === 'liveGrid' &&
(
d.code === 2 ||
d.code === 3
)
){
if(d.code === 2 || d.code === 3){
var monitorId = d.mid || d.id
setTimeout(function(){
callMonitorToLiveGrid(loadedMonitors[monitorId])