Solved issue with full screen

This commit is contained in:
Jose Gonzalez 2020-11-25 11:59:03 +01:00
parent 7984d9fcab
commit 60ca2109f3
2 changed files with 16 additions and 0 deletions

View File

@ -1018,8 +1018,20 @@ class AgentsAlerts extends HTML
$(document).ready(function () {
var pure = $('#hidden-pure');
var mainForm = $('#form-header-filters');
var timeout;
<?php if ($this->pure == 1) { ?>
$('.agents_alerts_header').addClass('agent_alerts_header_pure');
$('.agents_alerts_header').attr('style', 'display: none');
document.onmousemove = function(){
clearTimeout(timeout);
$('.agents_alerts_header').attr('style', 'display: block');
timeout = setTimeout(function(){
$('.agents_alerts_header').attr('style', 'display: none');
}, 1000)
}
setTimeout(function(){
mainForm.submit();
},

View File

@ -48,6 +48,10 @@
border: 0;
}
.agent_alerts_header_pure {
position: absolute;
}
.agents_alerts_header form > ul > li {
display: inline-flex;
}