diff options
| author | 2013-10-30 11:06:38 +0100 | |
|---|---|---|
| committer | 2013-10-30 11:06:38 +0100 | |
| commit | 1a209f1e9b791d5339d0968b55e78844281daf0e (patch) | |
| tree | a362aaeba19513faddb5ec7b933639d58ddf98e0 /app/App_FrontController.php | |
| parent | 84c03dda5f8c938317ec6f049301d1acaa00d0de (diff) | |
Ajoute le cas de la vue lecture
Diffstat (limited to 'app/App_FrontController.php')
| -rw-r--r-- | app/App_FrontController.php | 2 |
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')); |
