From 1d6c71e216898729cf2cc8330130b568ab198f2a Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 15 Aug 2016 23:07:47 +0200 Subject: Read-all bug fixed Introduced by the new forms of https://github.com/FreshRSS/FreshRSS/issues/772 https://github.com/FreshRSS/FreshRSS/pull/1188 --- p/scripts/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'p/scripts') diff --git a/p/scripts/main.js b/p/scripts/main.js index 6f1f40642..8980fe2f6 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -993,12 +993,12 @@ function load_more_posts() { box_load_more.children('.flux:last').after($('#stream', data).children('.flux, .day')); $('.pagination').replaceWith($('.pagination', data)); if (context.display_order === 'ASC') { - $('#nav_menu_read_all > .read_all').attr( + $('#nav_menu_read_all .read_all').attr( 'formaction', $('#bigMarkAsRead').attr('formaction') ); } else { $('#bigMarkAsRead').attr( - 'formaction', $('#nav_menu_read_all > .read_all').attr('formaction') + 'formaction', $('#nav_menu_read_all .read_all').attr('formaction') ); } -- cgit v1.2.3