diff --git a/src/Controllers/CommentController.php b/src/Controllers/CommentController.php index 69049a28..12e2c83f 100644 --- a/src/Controllers/CommentController.php +++ b/src/Controllers/CommentController.php @@ -12,7 +12,7 @@ class CommentController $this->context->stylesheets []= 'comment-list.css'; $this->context->stylesheets []= 'comment-small.css'; $this->context->subTitle = 'comments'; - if ($this->config->user->hasEnabledEndlessScrolling()) + if ($this->context->user->hasEnabledEndlessScrolling()) $this->context->scripts []= 'paginator-endless.js'; $page = intval($page);