Skip to content

Commit d6ed93d

Browse files
save file
1 parent 0ae06f7 commit d6ed93d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utils/editors/html/auto-save/v2.0/auto-save-v2.0.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@
102102

103103
var content = [...host.shadowRoot.childNodes];
104104

105-
var shadow2 = host.attachShadow({mode:'open',customElements:{}});
106-
var registry = shadow.customElements;
105+
var shadow = host.attachShadow({mode:'open',customElements:{}});
106+
shadow.append(...content);
107107

108+
var registry = shadow.customElements;
108109
registry.define('check-box',checkbox);
109110

110-
shadow2.append(...content);
111111

112112

113113

0 commit comments

Comments
 (0)