#11697 menu display lateral on collapse and tokem

This commit is contained in:
Jonathan 2023-07-11 13:50:45 +02:00
parent f5f71531ee
commit 6ef21fc3a1
1 changed files with 2 additions and 0 deletions

View File

@ -305,6 +305,7 @@ echo '</div>';
table_hover2 = $(this);
handsIn2 = 1;
openTime2 = new Date().getTime();
$("#sub" + table_hover2[0].id).attr('style', 'display: none; position: fixed; left: 340px;');
$("#sub" + table_hover2[0].id).show();
if (typeof(table_noHover2) != 'undefined') {
if ("ul#sub" + table_hover2[0].id != "ul#sub" + table_noHover2[0].id) {
@ -315,6 +316,7 @@ echo '</div>';
}).mouseleave(function() {
var menuType_val = localStorage.getItem("menuType");
if (!click_display && menuType_val === 'collapsed') {
$("#sub" + $(this)[0].id).attr('style', 'display: none;');
table_noHover2 = table_hover2;
handsIn2 = 0;
setTimeout(function() {