Make status bar disappear without JS
This commit is contained in:
parent
5cbb20dcc4
commit
9bf5e936fe
3 changed files with 8 additions and 3 deletions
|
@ -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)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue