Browse Source

fix firefox background color

SRV1 10 years ago
parent
commit
7a3f5e61f8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      apps/web/priv/static/app/js/bootloader.js

+ 2 - 2
apps/web/priv/static/app/js/bootloader.js

@@ -136,12 +136,12 @@ function PatchSVG()
     if ((hours() < 6 || hours() >= 18)) {
         $("#Sky").attr({fill:"#0E4B69"});
         $("#City").attr({fill:"#3B5998"});
-        $("body").css({'background-color': "#0E4B69"});
+        $("body")[0].style.background = "#0E4B69";
     } else
     {
         $("#Sky").attr({fill:"#EDF9FF"});
         $("#City").attr({fill:"#DFF1F4"});
-        $("body").css({'background-color': "#EDF9FF"});
+        $("body")[0].style.background= "#EDF9FF";
     }
 
     document.addEventListener('touchmove',function(e) {e.preventDefault();},false);