notes: hide note bodies when toggling notes.

Bug: if you clicked preview on a note to show the note body, then clicked
the image to hide the notes, then the note body wouldn't be hidden.
This commit is contained in:
evazion
2020-07-29 03:40:08 -05:00
parent 66ff9bd186
commit 5940a40a5a

View File

@@ -370,6 +370,7 @@ class Note {
}
static toggle_all() {
Note.Body.hide_all();
$(".note-container").toggleClass("hide-notes");
}
}