Skip to content

Commit

Permalink
Update result.html
Browse files Browse the repository at this point in the history
  • Loading branch information
crazypeace committed Apr 4, 2024
1 parent 7ccf66c commit 24971ca
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions theme/journal/result.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
</head>

<body>
<button onclick="syncMarkDownView()">Click me</button>
<div id="html-preview"></div>
<textarea class="form-control" id="longURL" readonly hidden>{__FINAL_LINK__}</textarea>

Expand All @@ -20,9 +19,9 @@
htmlPreview.innerHTML = marked.parse(markdownContent);
}

// document.addEventListener('DOMContentLoaded', function () {
// syncMarkDownView();
// });
document.addEventListener('DOMContentLoaded', function () {
syncMarkDownView();
});
</script>
</body>

Expand Down

0 comments on commit 24971ca

Please sign in to comment.