Fix: Show control buttons on hover only on the displayed stream (montage.js)

This will avoid unnecessary display of buttons when hovering over the "Monitor status" line if it is displayed "Outside bottom"
This commit is contained in:
IgorA100
2025-06-28 00:25:19 +03:00
committed by GitHub
parent 19018e1320
commit 5a01104bcc

View File

@@ -687,7 +687,7 @@ function initPage() {
// $j('#zmMontageLayout').val(getCookie('zmMontageLayout'));
//}
$j(".grid-monitor").hover(
$j(".monitorStream").hover(
//Displaying "Scale" and other buttons at the top of the monitor image
function() {
const id = stringToNumber(this.id);