Fix refresh rate popup on Monitor page (Firefox)

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
This commit is contained in:
Liviu-Mihail Concioiu 2022-05-31 23:33:07 +02:00
parent b4b27cf9b5
commit cac8581662

View File

@ -101,9 +101,7 @@ AJAX.registerOnload('server/status/monitor.js', function () {
var $cnt = $(this);
var pos = $cnt.offset();
// Hide if the mouseclick is outside the popupcontent
if (event.pageX < pos.left ||
event.pageY < pos.top ||
event.pageX > pos.left + $cnt.outerWidth() ||
if (event.pageX > pos.left + $cnt.outerWidth() ||
event.pageY > pos.top + $cnt.outerHeight()
) {
$cnt.hide().removeClass('openedPopup');