mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-23 11:38:34 -04:00
JS unused variables, syntax
This commit is contained in:
1 parent
75d2fa3fd3
commit
32b6ecc3af
1 file changed
+4
-7
+4
-7
@@ -125,9 +125,6 @@ function mark_read(active, only_not_read) {
|
||||
return false;
|
||||
}
|
||||
|
||||
var feed_url = active.find(".website>a").attr("href"),
|
||||
feed_id = feed_url.substr(feed_url.lastIndexOf('f_'));
|
||||
|
||||
if (pending_entries[active.attr('id')]) {
|
||||
return false;
|
||||
}
|
||||
@@ -149,6 +146,9 @@ function mark_read(active, only_not_read) {
|
||||
}
|
||||
$r.find('.icon').replaceWith(data.icon);
|
||||
|
||||
var feed_url = active.find(".website>a").attr("href"),
|
||||
feed_id = feed_url.substr(feed_url.lastIndexOf('f_'));
|
||||
|
||||
incUnreadsFeed(active, feed_id, inc);
|
||||
faviconNbUnread();
|
||||
|
||||
@@ -169,9 +169,6 @@ function mark_favorite(active) {
|
||||
return false;
|
||||
}
|
||||
|
||||
var feed_url = active.find(".website>a").attr("href"),
|
||||
feed_id = feed_url.substr(feed_url.lastIndexOf('f_'));
|
||||
|
||||
if (pending_entries[active.attr('id')]) {
|
||||
return false;
|
||||
}
|
||||
@@ -901,7 +898,7 @@ function notifs_html5_show(nb) {
|
||||
|
||||
notification.onclick = function() {
|
||||
window.location.reload();
|
||||
}
|
||||
};
|
||||
|
||||
if (context['html5_notif_timeout'] !== 0) {
|
||||
setTimeout(function() {
|
||||
|
||||
Reference in new issue
Block a user