diff options
| author | 2014-03-13 11:22:13 +0100 | |
|---|---|---|
| committer | 2014-03-13 11:22:13 +0100 | |
| commit | 8320154f6c4896567a679d7905fbc6cc8e30ac5a (patch) | |
| tree | e022ed6cd1bebaa3f53ea3ef4ef95c120cbcbe98 | |
| parent | f48fc2755c44d4968bce87cad13e1b4546aa7b2d (diff) | |
| parent | 6863ad663f50425db76b64b638805821f3419874 (diff) | |
Merge pull request #458 from aledeg/bottom-close
Add an observer to close an article when clicking on its footer
| -rw-r--r-- | p/scripts/main.js | 2 |
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; } |
