mirror of
https://github.com/miniflux/v2.git
synced 2025-08-06 17:41:00 +00:00
Ask for confirmation before clicking on mark all as read
This commit is contained in:
parent
ac3693562b
commit
a634839678
19 changed files with 39 additions and 66 deletions
|
@ -454,15 +454,6 @@ function isListView() {
|
|||
return document.querySelector(".items") !== null;
|
||||
}
|
||||
|
||||
function flipElementState(element) {
|
||||
let labelElement = document.createElement("span");
|
||||
labelElement.className = "link-flipped-state";
|
||||
labelElement.appendChild(document.createTextNode(element.dataset.labelNewState));
|
||||
|
||||
element.parentNode.appendChild(labelElement);
|
||||
element.parentNode.removeChild(element);
|
||||
}
|
||||
|
||||
function handleConfirmationMessage(linkElement, callback) {
|
||||
linkElement.style.display = "none";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue