Explorar o código

Merge pull request #479 from aledeg/click-article

Fix unexpected behavior during navigation
Alexandre Alapetite %!s(int64=12) %!d(string=hai) anos
pai
achega
11e86013aa
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      p/scripts/main.js

+ 2 - 0
p/scripts/main.js

@@ -227,6 +227,8 @@ function toggleContent(new_active, old_active) {
 			new_active.addClass("active");
 			new_active.addClass("active");
 		}
 		}
 		new_active.addClass("current");
 		new_active.addClass("current");
+	} else {
+		new_active.toggleClass("current");
 	}
 	}
 
 
 	var box_to_move = "html,body",
 	var box_to_move = "html,body",