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