fix node and instance element stylesheet reference
This commit is contained in:
parent
184cc5ee60
commit
f0e5b31bdf
@ -8,7 +8,7 @@ class Node extends HTMLElement {
|
|||||||
|
|
||||||
let styleLink = document.createElement("link");
|
let styleLink = document.createElement("link");
|
||||||
styleLink.rel = "stylesheet";
|
styleLink.rel = "stylesheet";
|
||||||
styleLink.href = "style.css";
|
styleLink.href = "css/style.css";
|
||||||
styleLink.type = "text/css";
|
styleLink.type = "text/css";
|
||||||
shadowRoot.append(styleLink);
|
shadowRoot.append(styleLink);
|
||||||
|
|
||||||
@ -63,7 +63,7 @@ class Instance extends HTMLElement {
|
|||||||
|
|
||||||
let styleLink = document.createElement("link");
|
let styleLink = document.createElement("link");
|
||||||
styleLink.rel = "stylesheet";
|
styleLink.rel = "stylesheet";
|
||||||
styleLink.href = "style.css";
|
styleLink.href = "css/style.css";
|
||||||
styleLink.type = "text/css";
|
styleLink.type = "text/css";
|
||||||
shadowRoot.append(styleLink);
|
shadowRoot.append(styleLink);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user