aboutsummaryrefslogtreecommitdiff
path: root/app/App_FrontController.php
diff options
context:
space:
mode:
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 844956cf9..a9a0a564f 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->displayPosts () === 'yes' && $this->conf->lazyload () === 'yes') {
View::appendScript (Url::display ('/scripts/jquery.lazyload.min.js'));
}
View::appendScript (Url::display ('/scripts/notification.js'));