Skip to content

A free, self-hostable news aggregator…

Fix unexpected behavior during navigation

Alexis Degrugillier65bde8b6cfd9
diff --git a/p/scripts/main.js b/p/scripts/main.js
index f73ca334f..18e1573cf 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -227,6 +227,8 @@ function toggleContent(new_active, old_active) {
new_active.addClass("active");
}
new_active.addClass("current");
+ } else {
+ new_active.toggleClass("current");
}
var box_to_move = "html,body",