aboutsummaryrefslogtreecommitdiff
path: root/p/scripts
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-04-08 20:30:24 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-04-08 20:30:24 +0200
commit6ae8607882c55bf807f4be15fa71658b10c62ca4 (patch)
treec03f27e650b74ec054a4359c36cc4de48a86e260 /p/scripts
parent40df0eb4524546f4e0561b4b6548dffa4b987299 (diff)
parent117396f75126ad966390c367bbdd8e9e17790d66 (diff)
Merge pull request #474 from aledeg/close-action
Change click behavior on articles
Diffstat (limited to 'p/scripts')
-rw-r--r--p/scripts/main.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js
index 03870da25..c3069b734 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -604,6 +604,9 @@ 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) {
+ return;
+ }
if ($(e.target).closest('.item.website, .item.link').length > 0) {
return;
}