Make status bar disappear without JS

This commit is contained in:
Andrey Nikitin 2025-06-03 17:32:04 +03:00
parent 5cbb20dcc4
commit 9bf5e936fe
3 changed files with 8 additions and 3 deletions

View file

@ -45,6 +45,6 @@ function sanitize(title) {
// Open a new note
function newNote(text_prompt) {
name = sanitize(prompt(text_prompt + ':'))
let name = sanitize(prompt(text_prompt + ':'))
window.location.replace('/notes/' + name)
}