aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/static/js/nav_handler.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/static/js/nav_handler.js')
-rw-r--r--ui/static/js/nav_handler.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/static/js/nav_handler.js b/ui/static/js/nav_handler.js
index c316507..bd9c681 100644
--- a/ui/static/js/nav_handler.js
+++ b/ui/static/js/nav_handler.js
@@ -71,6 +71,11 @@ class NavHandler {
}
toggleEntryStatus() {
+ if (! this.isListView()) {
+ EntryHandler.toggleEntryStatus(document.querySelector(".entry"));
+ return;
+ }
+
let currentItem = document.querySelector(".current-item");
if (currentItem !== null) {
// The order is important here,