Skip to content

Commit 70f17ae

Browse files
save file
1 parent 53a5190 commit 70f17ae

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<div id=root style='left:0;top:0;width:500px;height:500px'>
4747

4848
<div id=title>
49-
<div id=icons>
49+
<div id=icons style='display:none'>
5050
<img id=close>
5151
</div>
5252
</div>
@@ -131,8 +131,11 @@
131131

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

135137
icons = $(shadow,'#icons');
138+
136139
ui.url = $(shadow,'#url');
137140
ui.url.onkeyup = ku.url;
138141

0 commit comments

Comments
 (0)