aboutsummaryrefslogtreecommitdiff
path: root/p/scripts
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2014-03-14 20:46:50 -0400
committerGravatar Alexis Degrugillier <github@ainw.org> 2014-03-14 20:46:50 -0400
commitbe46819f517a105ad32ddbfcd22b9824b4446ea1 (patch)
treea612316c2354c857ad458125a69a641e3e26a90e /p/scripts
parent16d527693138d1839996701af87a04c4d582d213 (diff)
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.
Diffstat (limited to 'p/scripts')
-rw-r--r--p/scripts/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js
index 799d46625..898ec8c69 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -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;
}