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

f18.js: Fix FLOORPLAN compatibility (Forum #92959)

git-svn-id: https://svn.fhem.de/fhem/trunk@17705 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-11-08 10:30:28 +00:00
parent 676d2f1563
commit ff159a8c3b

View File

@ -46,7 +46,9 @@ $(document).ready(function(){
f18_attr["Pinned.menu"] = false;
}
var f18_aCol = getComputedStyle($("a").get(0),null).getPropertyValue('color');
var f18_aCol = "rgb(39, 135, 39)";
if($("a").length)
f18_aCol = getComputedStyle($("a").get(0),null).getPropertyValue('color');
f18_loadIcons();
f18_loadTouch();
for(var i in f18_icon)