Skip to content

Commit c8bc791

Browse files
save file
1 parent aba86a8 commit c8bc791

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

utils/editors/markdown-editor/html/output-md/v2.0/output-md-v2.0.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@
9898
<div id=output class=markdown-body>
9999
</div>
100100

101-
<div id=npm-output class='_6d9832ac _704c034e'>
102-
<div id=readme style='display:none'>
101+
<div id=npm-output class='_6d9832ac _704c034e' style='display:none'>
102+
<div id=readme>
103103
</div>
104104
</div>
105105

@@ -150,6 +150,8 @@
150150
var chk = {};
151151

152152
var npm_output;
153+
var npm_readme;
154+
153155
var editor;
154156

155157

@@ -273,7 +275,8 @@
273275

274276

275277
output = $(shadow,'#output');
276-
npm_output = $(shadow,'#npm-output #readme');
278+
npm_output = $(shadow,'#npm-output');
279+
npm_readme = $(shadow,'#readme');
277280

278281

279282
}//initdom
@@ -383,7 +386,7 @@
383386
debug('display.npm');
384387
var html = await github_markdown(txt);
385388

386-
npm_output.innerHTML = html;
389+
npm_readme.innerHTML = html;
387390

388391
$(shadow,'#stylesheet').textContent = css.npm;
389392

0 commit comments

Comments
 (0)