Merge pull request #17574 from liviuconcioiu/refresh

Fix #17366 - refresh rate popup on Monitor page (Firefox)
This commit is contained in:
Maurício Meneghini Fauth 2022-06-10 03:23:41 -03:00 committed by GitHub
commit 60fa362828
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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');