Big area mark as read

Added a big area to mark all as read below the list of articles
This commit is contained in:
Alexandre Alapetite
2013-08-25 00:14:01 +02:00
parent 31a6a13268
commit 2eea5bbdeb
3 changed files with 29 additions and 1 deletions

View File

@@ -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();
});