2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

f18.js: menu disappears on mobile for fixedInput=false after scrolling (Forum #82351)

git-svn-id: https://svn.fhem.de/fhem/trunk@17317 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-09-10 13:29:29 +00:00
parent 5a6b15ea82
commit 403f8d035d

View File

@ -75,6 +75,8 @@ $(document).ready(function(){
function
f18_menu()
{
$("#menu").toggleClass("hidden", f18_small || !f18_getAttr("Pinned.menu"));
if($("#menuScrollArea #menuBtn").length)
return fixMenu();
@ -420,7 +422,6 @@ f18_resize()
$("#menuBtn").toggle(!pm || f18_small);
$("#menuBtn").css({ left:(rm ? "auto":"10px"), right:(rm ? "10px":"auto") });
$("#logo") .css({ left:(rm ? "auto":lleft ), right:(rm ? "48px":"auto") });
$("#menu").toggleClass("hidden", !pm);
}
function