Skip to content

Commit e4db141

Browse files
save file
1 parent 2c65697 commit e4db141

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

utils/misc/html/misc-hdr/misc-hdr.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,10 @@
170170

171171
var slot = $(shadow,'[name=help]');
172172
var assigned = slot.assignedNodes()[0];
173-
var src = assigned.getAttribute('src');
173+
var src;
174+
if(assigned){
175+
src = assigned.getAttribute('src');
176+
}
174177

175178
help.initmod(mod.root.base,{src});
176179

0 commit comments

Comments
 (0)