summaryrefslogtreecommitdiff
path: root/p/scripts
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2014-03-12 22:40:20 -0400
committerGravatar Alexis Degrugillier <github@ainw.org> 2014-03-12 22:40:20 -0400
commit6863ad663f50425db76b64b638805821f3419874 (patch)
treee022ed6cd1bebaa3f53ea3ef4ef95c120cbcbe98 /p/scripts
parentf48fc2755c44d4968bce87cad13e1b4546aa7b2d (diff)
Add an observer to close an article when clicking on its footer
See #449
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 3a4d4e4fb..799d46625 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', function (e) { //flux_header_toggle
+ divStream.on('click', '.flux_header,.flux_content > .bottom', function (e) { //flux_header_toggle, flux_footer_toggle
if ($(e.target).closest('.item.website, .item.link').length > 0) {
return;
}