aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/css/elements/components.php1
-rw-r--r--views/default/river/elements/footer.php6
2 files changed, 3 insertions, 4 deletions
diff --git a/views/default/css/elements/components.php b/views/default/css/elements/components.php
index df1632db4..bbd6b4cfb 100644
--- a/views/default/css/elements/components.php
+++ b/views/default/css/elements/components.php
@@ -255,7 +255,6 @@
-webkit-border-radius: 5px;
border-radius: 5px;
- display: none;
height: 30px;
}
.elgg-river-item input[type=text] {
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);