A free, self-hostable news aggregator…
Fix: Clicking outside of article text area closes the article (#6241)
maTh75a17ff4108f
diff --git a/p/scripts/main.js b/p/scripts/main.jsindex 031d1dc14..fda17b885 100644--- a/p/scripts/main.js+++ b/p/scripts/main.js@@ -1167,7 +1167,7 @@ function init_stream(stream) {if (ev.target.closest('.reader, .content, .item.website, .item.link, .dropdown')) {return true;}- if (!context.sides_close_article && ev.target.matches('.flux_content')) {+ if ((!context.sides_close_article && ev.target.matches('.flux_content')) || ev.target.closest('footer')) {// setting for not-closing after clicking outside article areareturn false;}