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 ce6c03b commit a371968Copy full SHA for a371968
src/fetchSrc.js
@@ -37,9 +37,12 @@ async function initElements(elements) {
37
if (element.tagName === "AUDIO" || element.tagName === "VIDEO") {
38
initMediaSource(element, src);
39
} else {
40
- if (src && !textExtensions.includes(src.split('.').pop())) return
41
- element.removeAttribute("rendered");
+ if (src && !textExtensions.includes(src.split('.').pop())) continue
42
+ if (element.hasAttribute("rendered")) {
43
+ element.removeAttribute("rendered");
44
+ // continue;
45
+ }
46
let text = await response.text();
47
if (text) {
48
let path = "";
0 commit comments