mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-07-17 02:22:52 -04:00
Issue #125 : "suivant" charge articles suivants
Le raccourci pour passer à l'article suivant charge automatiquement les articles suivants si on vient d'ouvrir le dernier article de la page Il reste à rajouter une option pour les charger si on se trouve en bas de la page
This commit is contained in:
@@ -122,8 +122,13 @@ function prev_entry() {
|
||||
function next_entry() {
|
||||
old_active = $(".flux.active");
|
||||
first_active = $(".flux:first");
|
||||
last_active = $(".flux:last");
|
||||
new_active = old_active.nextAll (".flux:first");
|
||||
|
||||
if(last_active.attr("id") == new_active.attr("id")) {
|
||||
load_more_posts ();
|
||||
}
|
||||
|
||||
if (new_active.hasClass("flux")) {
|
||||
toggleContent (new_active, old_active);
|
||||
} else if (old_active[0] === undefined &&
|
||||
|
||||
Reference in New Issue
Block a user