2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-27 20:34:52 +00:00

f18.js: smallscreen fix

git-svn-id: https://svn.fhem.de/fhem/trunk@15813 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-01-07 13:31:54 +00:00
parent 0e89748744
commit 7729e4b49e

View File

@ -34,8 +34,10 @@ $(document).ready(function(){
'<meta name="apple-mobile-web-app-capable" content="yes">'+ '<meta name="apple-mobile-web-app-capable" content="yes">'+
'<link rel="apple-touch-icon" href="'+icon+'">'); '<link rel="apple-touch-icon" href="'+icon+'">');
if('ontouchstart' in window) $("body").addClass('touch'); if('ontouchstart' in window) $("body").addClass('touch');
if(f18_small) if(f18_small) {
$("body").addClass('small'); $("body").addClass('small');
f18_attr["Pinned.menu"] = false;
}
f18_aCol = getComputedStyle($("a").get(0),null).getPropertyValue('color'); f18_aCol = getComputedStyle($("a").get(0),null).getPropertyValue('color');