aboutsummaryrefslogtreecommitdiff
path: root/app/App_FrontController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-10-30 11:06:38 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-10-30 11:06:38 +0100
commit1a209f1e9b791d5339d0968b55e78844281daf0e (patch)
treea362aaeba19513faddb5ec7b933639d58ddf98e0 /app/App_FrontController.php
parent84c03dda5f8c938317ec6f049301d1acaa00d0de (diff)
Ajoute le cas de la vue lecture
Diffstat (limited to 'app/App_FrontController.php')
-rw-r--r--app/App_FrontController.php2
1 files changed, 1 insertions, 1 deletions
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'));