aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/item
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 19:48:05 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 19:48:05 +0000
commita13b91d36ac72f0045a03402dc7040a226102ff5 (patch)
tree3ca3c2e4917926351a3f724d3eada836aa674f51 /views/default/river/item
parent6b41bd72667ce810257a6ed35f090d3c702fb59e (diff)
downloadelgg-a13b91d36ac72f0045a03402dc7040a226102ff5.tar.gz
elgg-a13b91d36ac72f0045a03402dc7040a226102ff5.tar.bz2
Fixes #3032: toggler pattern is now <a href="#target" class="elgg-toggler">...</a> Wow, so much nicer.
git-svn-id: http://code.elgg.org/elgg/trunk@8538 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/river/item')
-rw-r--r--views/default/river/item/controls.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/river/item/controls.php b/views/default/river/item/controls.php
index 32653452b..96979f2c5 100644
--- a/views/default/river/item/controls.php
+++ b/views/default/river/item/controls.php
@@ -15,9 +15,9 @@ if (elgg_is_logged_in()) {
if ($object->canComment()) {
elgg_register_menu_item('river', array(
'name' => 'comment',
- 'href' => '#',
+ 'href' => "#comments-add-$object->guid",
'text' => elgg_echo('generic_comments:text'),
- 'class' => "elgg-toggler elgg-toggles-comments-add-{$object->getGUID()}",
+ 'class' => "elgg-toggler",
));
}