mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-23 03:34:41 -04:00
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:
1 parent
16d5276931
commit
be46819f51
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user