mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-07 07:58:16 -05:00
Big area mark as read
Added a big area to mark all as read below the list of articles
This commit is contained in:
@@ -380,6 +380,14 @@ function init_nav_entries() {
|
||||
});
|
||||
}
|
||||
|
||||
function init_bigMarkAsRead() {
|
||||
$('.bigMarkAsRead').click(function() {
|
||||
url = $(".nav_menu a.read_all").attr ("href");
|
||||
redirect (url, false);
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
$(document).ready (function () {
|
||||
if(is_reader_mode()) {
|
||||
hide_posts = false;
|
||||
@@ -388,4 +396,5 @@ $(document).ready (function () {
|
||||
init_column_categories ();
|
||||
init_shortcuts ();
|
||||
init_nav_entries();
|
||||
init_bigMarkAsRead();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user