mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-27 17:00:59 +01:00
Weather: Fixed a bug that displayed the widget area using a different background color
It seems Google changed the widget and explicitly set a background color, so this patch takes that into account and removes it. Previously, the widget did not have a background, rather inheriting it from the `body` element.
This commit is contained in:
parent
c083327e2f
commit
cc0af464c3
@ -417,6 +417,7 @@ function ep_weather_getData(imageBitmap, ch) {\n\
|
||||
//console.log(res);\n\
|
||||
document.body.style.backgroundColor='transparent';\n\
|
||||
document.body.style.backgroundColor='transparent';\n\
|
||||
Array.from(document.getElementsByClassName(\"Ww4FFb\")).forEach((element) => {element.style.backgroundColor = \"transparent\";});\n\
|
||||
return res;\n\
|
||||
}\n\
|
||||
var ep_result;\n\
|
||||
|
Loading…
Reference in New Issue
Block a user