Change article observer

Instead of observe only the bottom of the article to collapse the article, the whole article is observed.
Now if you want to close an article in the middle of your reading, you can.
This commit is contained in:
Alexis Degrugillier committed 2014-03-14 20:46:50 -04:00
1 parent 16d5276931
commit be46819f51
1 file changed
+1 -1
+1 -1
View File
@@ -606,7 +606,7 @@ function init_shortcuts() {
}
function init_stream(divStream) {
divStream.on('click', '.flux_header,.flux_content > .bottom', function (e) { //flux_header_toggle, flux_footer_toggle
divStream.on('click', '.flux_header,.flux_content', function (e) { //flux_toggle
if ($(e.target).closest('.item.website, .item.link').length > 0) {
return;
}