From 61c0cf2c2d0fd623f7f04a73910dd9470432cc34 Mon Sep 17 00:00:00 2001 From: ElapsingDreams <159739277+ElapsingDreams@users.noreply.github.com> Date: Mon, 12 Aug 2024 20:01:29 +0800 Subject: [PATCH] Update weather_now.js --- src/resources/liteyuki_weather/templates/js/weather_now.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/resources/liteyuki_weather/templates/js/weather_now.js b/src/resources/liteyuki_weather/templates/js/weather_now.js index 4e02fdd3..3dc87a23 100644 --- a/src/resources/liteyuki_weather/templates/js/weather_now.js +++ b/src/resources/liteyuki_weather/templates/js/weather_now.js @@ -179,5 +179,5 @@ function get_time_hour(fxTime) { } - -attrinfo.innerText = is_dev ? "Weather Service Drived by QWeather" : (attr ? attr : "Weather Service Drived by QWeather"); \ No newline at end of file +let attrinfo = document.getElementById('attribution-info'); +attrinfo.innerText = is_dev ? "Weather Service Drived by QWeather" : (attr ? attr : "Weather Service Drived by QWeather");