Update index.html
This commit is contained in:
parent
23db06045b
commit
a1e36fadc2
1 changed files with 2 additions and 4 deletions
|
@ -224,7 +224,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="status-bar">SneedCode | UTF-8 | Markdown</div>
|
||||
<div class="status-bar">sneedCode | Markdown</div>
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/codemirror.min.js"></script>
|
||||
|
||||
|
@ -364,9 +364,7 @@
|
|||
function updateStatusBar() {
|
||||
const statusBar = document.querySelector(".status-bar");
|
||||
const mode = editor.getOption("mode");
|
||||
statusBar.textContent = `SneedCode | UTF-8 | ${
|
||||
mode.charAt(0).toUpperCase() + mode.slice(1)
|
||||
}`;
|
||||
statusBar.textContent = `sneedCode | ${mode.charAt(0).toUpperCase() + mode.slice(1)}`;
|
||||
}
|
||||
|
||||
funcUpdateStatusBar = updateStatusBar;
|
||||
|
|
Loading…
Reference in a new issue