mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
Add toggle status button to entry page
This commit is contained in:
parent
4f62a704e2
commit
5341bbcbe2
11 changed files with 57 additions and 30 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue