1
0
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:
Valentin Radu 2023-03-01 20:41:09 +02:00
parent c083327e2f
commit cc0af464c3

View File

@ -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\