lobehub / sd-webui-lobe-theme

🅰️ Lobe theme - The modern theme for stable diffusion webui, exquisite interface design, highly customizable UI, and efficiency boosting features.
https://github.com/AUTOMATIC1111/stable-diffusion-webui
GNU Affero General Public License v3.0
2.37k stars 222 forks source link

[Bug] Non-stop Javascript exceptions in browser #386

Closed wywywywy closed 1 year ago

wywywywy commented 1 year ago

💻 系统环境 | Operating System

Windows

🌐 浏览器 | Browser

Chrome

🐛 问题描述 | Bug Description

The main.js of Lobe generates one exception error a second, as can be seen from the dev console.

image

main.js?1693833289.7170026:1672 Uncaught TypeError: Cannot read properties of null (reading 'querySelector')
    at main.js?1693833289.7170026:1672:1919
    at main.js?1693833289.7170026:1672:2763

It points to this line:

                                const e = c.querySelector("br");

🚦 期望结果 | Expected Behavior

There should be no errors.

📷 复现步骤 | Recurrence Steps

No action needed. Errors start as soon as loading starts.

📝 补充信息 | Additional Information

NA

bluelovers commented 1 year ago

https://github.com/lobehub/sd-webui-lobe-theme/pull/389

lobehubbot commented 12 months ago

:tada: This issue has been resolved in version 3.0.4 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: