Force l'affichage d'un article lors du click

This commit is contained in:
Alexis Degrugillier committed 2013-11-28 23:03:09 -05:00
1 parent c6ef2e826c
commit 7cc2fd6948
1 file changed
+3
+3
View File
@@ -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);