aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/elements/footer.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/river/elements/footer.php')
-rw-r--r--views/default/river/elements/footer.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/river/elements/footer.php b/views/default/river/elements/footer.php
index 7cf9dd925..f1e79f131 100644
--- a/views/default/river/elements/footer.php
+++ b/views/default/river/elements/footer.php
@@ -47,6 +47,6 @@ if ($comments) {
}
// inline comment form
-echo elgg_view_form('comments/add', array(
- 'id' => "comments-add-{$object->getGUID()}",
-), array('entity' => $object, 'inline' => true));
+$form_vars = array('id' => "comments-add-{$object->getGUID()}", 'class' => 'hidden');
+$body_vars = array('entity' => $object, 'inline' => true);
+echo elgg_view_form('comments/add', $form_vars, $body_vars);