Skip to content

Commit e2cddf8

Browse files
save file
1 parent e3858ab commit e2cddf8

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

html-components/list/snippet-html-console/snippet-html-console.html

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,9 @@
105105
</script>
106106

107107

108-
<link rel=stylesheet href='../css/component.css'>
108+
<link rel=stylesheet href='../css/component.css' crossorigin=anonymous>
109109

110110
<style>
111-
112-
body
113-
{margin-top:90px}
114-
115-
html-components-hdr
116-
{position:fixed;z-index:1;background:white;top:0px;padding-top:20px}
117-
118111
</style>
119112

120113
</head>
@@ -196,12 +189,14 @@ <h3>
196189
var html = md.render(md_txt);
197190
$('#readme').innerHTML = html;
198191

192+
var keys = Object.keys(files.examples);
193+
var initial = keys[0];
199194

200195
files = dirtree.build(files);
201196
dirtree.display(files,{callback});
202197

198+
await show.examples(initial);
203199

204-
await show.examples('filemod-v2.0-test.html');
205200
$('#view').style.display = '';
206201

207202

0 commit comments

Comments
 (0)