|
@@ -122,8 +122,13 @@ function prev_entry() {
|
|
|
function next_entry() {
|
|
function next_entry() {
|
|
|
old_active = $(".flux.active");
|
|
old_active = $(".flux.active");
|
|
|
first_active = $(".flux:first");
|
|
first_active = $(".flux:first");
|
|
|
|
|
+ last_active = $(".flux:last");
|
|
|
new_active = old_active.nextAll (".flux:first");
|
|
new_active = old_active.nextAll (".flux:first");
|
|
|
|
|
|
|
|
|
|
+ if(last_active.attr("id") == new_active.attr("id")) {
|
|
|
|
|
+ load_more_posts ();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
if (new_active.hasClass("flux")) {
|
|
if (new_active.hasClass("flux")) {
|
|
|
toggleContent (new_active, old_active);
|
|
toggleContent (new_active, old_active);
|
|
|
} else if (old_active[0] === undefined &&
|
|
} else if (old_active[0] === undefined &&
|