Skip to content

Commit 2d00479

Browse files
save file
1 parent 70f17ae commit 2d00479

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

utils/misc/nodejs-terminal/html/webcontainer-iframe/webcontainer-iframe.html

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -127,21 +127,22 @@
127127

128128
obj.initdom = function(){
129129

130-
var shadow = host.shadowRoot;
130+
var shadow = host.shadowRoot;
131131

132-
var root = $(shadow,'#root');
132+
var root = $(shadow,'#root');
133133
$.drag(root,callback.drag);
134-
root.onmouseenter = e=>icons.style.display='';
135-
root.onmouseleave = e=>icons.style.display='none';
134+
root.onmouseenter = e=>icons.style.display='';
135+
root.onmouseleave = e=>icons.style.display='none';
136136

137-
icons = $(shadow,'#icons');
137+
icons = $(shadow,'#icons');
138+
$(icons,'#close').onclick = e=>{};
138139

139-
ui.url = $(shadow,'#url');
140-
ui.url.onkeyup = ku.url;
140+
ui.url = $(shadow,'#url');
141+
ui.url.onkeyup = ku.url;
141142

142-
ui.iframe = $(shadow,'iframe');
143+
ui.iframe = $(shadow,'iframe');
143144

144-
glass = $(shadow,'#glass');
145+
glass = $(shadow,'#glass');
145146

146147

147148

0 commit comments

Comments
 (0)