Skip to content

A free, self-hostable news aggregator…

Change click behaviour on articles #3

Alexandre Alapetitef6049f3be7b3
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"),