Skip to content

Commit 2fc1542

Browse files
authored
Fix: Incorrect 'streamMode' setting for Watch page (watch.js.php)
We cycle through monitors and the current monitor in the loop is "$m"
1 parent 46dc4f3 commit 2fc1542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/skins/classic/views/js/watch.js.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
'monitorRefresh': '<?php echo $m->Refresh() ?>',
6565
'monitorStreamReplayBuffer': parseInt('<?php echo $m->StreamReplayBuffer() ?>'),
6666
'monitorControllable': <?php echo $m->Controllable()?'true':'false' ?>,
67-
'streamMode': '<?php echo $monitor->getStreamMode(); ?>'
67+
'streamMode': '<?php echo $m->getStreamMode(); ?>'
6868
};
6969
<?php
7070
} // end foreach monitor

0 commit comments

Comments
 (0)