This commit is contained in:
maaa 2023-08-27 16:12:02 +02:00
parent 5970b656bb
commit 10514e5935
2 changed files with 9 additions and 2 deletions

View File

@ -106,6 +106,11 @@ body {
border-top-width: 1px; border-top-width: 1px;
} }
.notesDiv {
height: calc(100% - 50px);
overflow-y: scroll;
}
.notesBar button { .notesBar button {
width: calc(100% - 7px - 7px - 3.5px); width: calc(100% - 7px - 7px - 3.5px);
height: 35px; height: 35px;

View File

@ -132,8 +132,10 @@ function displayPrompt(message, callback) {
errorInput.value = "" errorInput.value = ""
closeErrorButton.addEventListener("click", (event) => { closeErrorButton.addEventListener("click", (event) => {
callback(errorInput.value) if (callback) {
callback = undefined callback(errorInput.value)
callback = undefined
}
}); });
errorInput.addEventListener("keyup", (event) => { errorInput.addEventListener("keyup", (event) => {
if (event.key == "Enter") { if (event.key == "Enter") {