aboutsummaryrefslogtreecommitdiff
path: root/p/scripts
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-04-08 21:04:23 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-04-08 21:04:23 +0200
commit60f73f53c4da215a6a60d21e809960c9cf6078fe (patch)
tree8d2beb8417bd729255f4593c8d25969f812500b1 /p/scripts
parent6ae8607882c55bf807f4be15fa71658b10c62ca4 (diff)
Change click behaviour on articles #2
https://github.com/marienfressinaud/FreshRSS/issues/473 https://github.com/marienfressinaud/FreshRSS/pull/474/files
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 c3069b734..7d828c585 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -604,7 +604,7 @@ function init_shortcuts() {
function init_stream(divStream) {
divStream.on('click', '.flux_header,.flux_content', function (e) { //flux_toggle
- if ($(e.target).parents('.content').length > 0) {
+ if ($(e.target).closest('.content').length > 0) {
return;
}
if ($(e.target).closest('.item.website, .item.link').length > 0) {