From 50c5b7239c13ef4dac6c28cc3a1d5a47f2c07ff3 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sun, 14 Feb 2021 16:57:19 +0300 Subject: [PATCH] v1.5.28 - #561 fixed --- modules/ui/notes-editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ui/notes-editor.js b/modules/ui/notes-editor.js index caa4a59f..04facf08 100644 --- a/modules/ui/notes-editor.js +++ b/modules/ui/notes-editor.js @@ -126,6 +126,7 @@ function editNotes(id, name) { notes.splice(index, 1); select.options.length = 0; if (!notes.length) {$("#notesEditor").dialog("close"); return;} + notesText.innerHTML = ""; editNotes(notes[0].id, notes[0].name); }