summaryrefslogtreecommitdiff
path: root/app/App_FrontController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-04 14:17:11 -0800
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-04 14:17:11 -0800
commitfb07117b78bb0ff2d97d4a042625b8600e3551c6 (patch)
treeee8b855f54f06b6415362e0c7e23840d69a3131e /app/App_FrontController.php
parenta4881b2a93615b97bab3da39514983a837c495bf (diff)
parent1a209f1e9b791d5339d0968b55e78844281daf0e (diff)
Merge pull request #224 from Alkarex/manualLazyload
LazyLoad manuel pour les articles repliƩs
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 411550b38..2db2d8ac1 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->lazyload () === 'yes') {
+ if ($this->conf->lazyload () === 'yes' && ($this->conf->displayPosts () === 'yes' || Request::param ('output') === 'reader')) {
View::appendScript (Url::display ('/scripts/jquery.lazyload.min.js'));
}
}