diff --git a/web/skins/classic/includes/control_functions.php b/web/skins/classic/includes/control_functions.php index 877563664..928252c7e 100644 --- a/web/skins/classic/includes/control_functions.php +++ b/web/skins/classic/includes/control_functions.php @@ -121,29 +121,21 @@ function controlPanTilt($monitor, $cmds) { $hasPan = $control->CanPan(); $hasTilt = $control->CanTilt(); $hasDiag = $hasPan && $hasTilt && $control->CanMoveDiag(); + $cmd = $control->CanMoveCon() ? 'data-on-mousedown="controlCmd" data-on-mouseup="controlCmd" ' : 'data-on-click="controlCmd" '; ?> - - - - + + + + - + - - - - + + + +