Skip to content

Commit e8a0a85

Browse files
save file
1 parent b1ce8dc commit e8a0a85

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

utils/misc/html/misc-hdr/v2.0/misc-hdr-v2.0.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
var help;
161161
var top;
162162

163-
var shadow;
163+
var shadow = host.shadowRoot;
164164

165165

166166
var set = {};
@@ -173,10 +173,12 @@
173173

174174
help = mod['help-file'];
175175

176+
var slot = $(shadow,'[name=help]')
177+
console.log('file :',slot.getAttribute('src'));
178+
176179
help.initmod(mod.root.base);
177180
await help.init();
178181

179-
console.log('file :',$(host.shadowRoot,'[name=help]'));
180182

181183
}//init
182184

0 commit comments

Comments
 (0)