Skip to content

A free, self-hostable news aggregator…

Ajoute le cas de la vue lecture

Alexandre Alapetite1a209f1e9b79
diff --git a/app/App_FrontController.php b/app/App_FrontController.php
index a9a0a564f..314e92ebc 100644
--- a/app/App_FrontController.php
+++ b/app/App_FrontController.php
@@ -62,7 +62,7 @@ class App_FrontController extends FrontController {
View::appendScript ('https://login.persona.org/include.js');
}
View::appendScript (Url::display ('/scripts/jquery.min.js'));
- if ($this->conf->displayPosts () === 'yes' && $this->conf->lazyload () === 'yes') {
+ if ($this->conf->lazyload () === 'yes' && ($this->conf->displayPosts () === 'yes' || Request::param ('output') === 'reader')) {
View::appendScript (Url::display ('/scripts/jquery.lazyload.min.js'));
}
View::appendScript (Url::display ('/scripts/notification.js'));