Просмотр исходного кода

Force l'affichage d'un article lors du click

Alexis Degrugillier 12 лет назад
Родитель
Сommit
7cc2fd6948
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      public/scripts/main.js

+ 3 - 0
public/scripts/main.js

@@ -393,6 +393,9 @@ function init_stream_delegates(divStream) {
 	divStream.on('click', '.flux_header>.item.title, .flux_header>.item.date', function (e) {	//flux_header_toggle
 		var old_active = $(".flux.current"),
 			new_active = $(this).parent().parent();
+			console.log(isCollapsed);
+		isCollapsed = true;
+			console.log(isCollapsed);
 		if (e.target.tagName.toUpperCase() === 'A') {	//Leave real links alone
 			if (auto_mark_article) {
 				mark_read(new_active, true);