Update index.html

This commit is contained in:
The Ghost of FOSS' Future 2024-09-18 12:48:36 -05:00 committed by GitHub
parent 23db06045b
commit a1e36fadc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -224,7 +224,7 @@
</div> </div>
</div> </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> <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.17/codemirror.min.js"></script>
@ -364,9 +364,7 @@
function updateStatusBar() { function updateStatusBar() {
const statusBar = document.querySelector(".status-bar"); const statusBar = document.querySelector(".status-bar");
const mode = editor.getOption("mode"); const mode = editor.getOption("mode");
statusBar.textContent = `SneedCode | UTF-8 | ${ statusBar.textContent = `sneedCode | ${mode.charAt(0).toUpperCase() + mode.slice(1)}`;
mode.charAt(0).toUpperCase() + mode.slice(1)
}`;
} }
funcUpdateStatusBar = updateStatusBar; funcUpdateStatusBar = updateStatusBar;