diff options
| author | 2014-03-14 20:46:50 -0400 | |
|---|---|---|
| committer | 2014-03-14 20:46:50 -0400 | |
| commit | be46819f517a105ad32ddbfcd22b9824b4446ea1 (patch) | |
| tree | a612316c2354c857ad458125a69a641e3e26a90e /p/scripts | |
| parent | 16d527693138d1839996701af87a04c4d582d213 (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.js | 2 |
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; } |
