mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-19 09:53:22 -04:00
Minor code simplification
https://github.com/FreshRSS/FreshRSS/pull/2300
This commit is contained in:
1 parent
580123fdb0
commit
09362f15ee
1 file changed
+2
-6
+2
-6
@@ -462,9 +462,7 @@ function next_feed() {
|
||||
|
||||
function first_feed() {
|
||||
const a = document.querySelector('#aside_feed .category.active .feed:not([data-unread="0"]) a.item-title');
|
||||
if (a) {
|
||||
delayedClick(a);
|
||||
}
|
||||
delayedClick(a);
|
||||
}
|
||||
|
||||
function last_feed() {
|
||||
@@ -504,9 +502,7 @@ function next_category() {
|
||||
|
||||
function first_category() {
|
||||
const a = document.querySelector('#aside_feed .category:not([data-unread="0"]) a.title');
|
||||
if (a) {
|
||||
delayedClick(a);
|
||||
}
|
||||
delayedClick(a);
|
||||
}
|
||||
|
||||
function last_category() {
|
||||
|
||||
Reference in new issue
Block a user