diff options
| author | 2014-04-08 21:17:59 +0200 | |
|---|---|---|
| committer | 2014-04-08 21:17:59 +0200 | |
| commit | f6049f3be7b311a78e80d08b2cf01b1eed076db9 (patch) | |
| tree | 1c249641e9c20db09a8b542f4a2f65989f26a77c /p | |
| parent | 60f73f53c4da215a6a60d21e809960c9cf6078fe (diff) | |
Change click behaviour on articles #3
Code simplification
https://github.com/marienfressinaud/FreshRSS/issues/473
https://github.com/marienfressinaud/FreshRSS/commit/60f73f53c4da215a6a60d21e809960c9cf6078fe
Diffstat (limited to 'p')
| -rw-r--r-- | p/scripts/main.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js index 7d828c585..f73ca334f 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -604,10 +604,7 @@ function init_shortcuts() { function init_stream(divStream) { divStream.on('click', '.flux_header,.flux_content', function (e) { //flux_toggle - if ($(e.target).closest('.content').length > 0) { - return; - } - if ($(e.target).closest('.item.website, .item.link').length > 0) { + if ($(e.target).closest('.content, .item.website, .item.link').length > 0) { return; } var old_active = $(".flux.current"), |
