A free, self-hostable news aggregator…
Fix le scroll en changeant d'article
Marien Fressinaud978a48a1d653
diff --git a/app/views/javascript/main.phtml b/app/views/javascript/main.phtmlindex 8ff3ec54b..37da448d2 100644--- a/app/views/javascript/main.phtml+++ b/app/views/javascript/main.phtml@@ -54,6 +54,9 @@ function toggleContent (new_active, old_active) {if (hide_posts) {old_active.children (".flux_content").toggle (0);+ new_pos = new_active.position ().top;+ old_scroll = $(box_to_move).scrollTop ();+if(relative_move) {new_pos += old_scroll;}