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:
@@ -370,6 +370,7 @@ class Note {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static toggle_all() {
|
static toggle_all() {
|
||||||
|
Note.Body.hide_all();
|
||||||
$(".note-container").toggleClass("hide-notes");
|
$(".note-container").toggleClass("hide-notes");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user