aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/river.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/river.php b/engine/lib/river.php
index 656b496b5..c934e9932 100644
--- a/engine/lib/river.php
+++ b/engine/lib/river.php
@@ -521,6 +521,7 @@ function elgg_river_add_menu_items($hook, $type, $return, $params) {
'href' => "#comments-add-$object->guid",
'text' => elgg_echo('generic_comments:text'),
'class' => "elgg-toggler",
+ 'priority' => 50,
);
$return[] = ElggMenuItem::factory($options);
}
@@ -534,6 +535,7 @@ function elgg_river_add_menu_items($hook, $type, $return, $params) {
'href' => $url,
'text' => elgg_echo('likes:likethis'),
'is_action' => true,
+ 'priority' => 100,
);
} else {
$likes = elgg_get_annotations(array(
@@ -547,6 +549,7 @@ function elgg_river_add_menu_items($hook, $type, $return, $params) {
'href' => $url,
'text' => elgg_echo('likes:remove'),
'is_action' => true,
+ 'priority' => 100,
);
}
$return[] = ElggMenuItem::factory($options);