aboutsummaryrefslogtreecommitdiff
path: root/mod/tinymce/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/tinymce/start.php')
-rw-r--r--mod/tinymce/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/tinymce/start.php b/mod/tinymce/start.php
index 3de517d27..81667f8d5 100644
--- a/mod/tinymce/start.php
+++ b/mod/tinymce/start.php
@@ -21,7 +21,7 @@ function tinymce_longtext_menu($hook, $type, $items, $vars) {
$items[] = ElggMenuItem::factory(array(
'name' => 'tinymce_toggler',
'class' => 'tinymce-toggle-editor elgg-longtext-control',
- 'href' => "javascript:elgg.tinymce.toggleEditor('{$vars['id']}');",
+ 'href' => "#{$vars['id']}",
'text' => elgg_echo('tinymce:remove'),
));