Skip to content

Commit 0739f33

Browse files
authored
update actions.js
1 parent 16359d3 commit 0739f33

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ else if (action === 'openfile') {
3939
if (location.pathname === '/codeEditor.html') {
4040
setCode(fContent)
4141
}
42-
setContent(fContent)
42+
else setContent(fContent)
4343
}
4444
}
4545
else if (action === 'filelink') {

codeEditor.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
</script>
6060
<script src="https://unpkg.com/monaco-editor@latest/min/vs/loader.js"></script>
6161
<script src="actions.js"></script>
62-
<!-- <script src="codeEditor.js"></script> -->
62+
<script src="codeEditor.js"></script>
6363
<script src="sectionWidth.js"></script>
6464
</body>
6565
</html>

0 commit comments

Comments
 (0)