We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69bd788 commit 93d3f61Copy full SHA for 93d3f61
Source/Components/ImageGlass.Settings/WebUI/src/DXCanvas_Webview2/webComponents/HapplaBoxHTMLElement.ts
@@ -142,8 +142,8 @@ export class HapplaBoxHTMLElement extends HTMLElement {
142
});
143
144
// fix the path of image
145
- const imgEls = Array.from(this.#boxContentEl.querySelectorAll('image[href]'));
146
- imgEls.forEach((img: HTMLImageElement) => {
+ const imageEls = Array.from(this.#boxContentEl.querySelectorAll('image[href]'));
+ imageEls.forEach((img: SVGImageElement) => {
147
const href = img.getAttribute('href') ?? '';
148
149
// check if the href is valid
0 commit comments