aboutsummaryrefslogtreecommitdiff
path: root/mod/embed/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/embed/start.php')
-rw-r--r--mod/embed/start.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/embed/start.php b/mod/embed/start.php
index f6f49a53f..ce6c6ec11 100644
--- a/mod/embed/start.php
+++ b/mod/embed/start.php
@@ -36,10 +36,13 @@ function embed_longtext_menu($hook, $type, $items, $vars) {
'name' => 'embed',
'href' => "embed?{$active_section}internal_id={$vars['id']}",
'text' => elgg_echo('media:insert'),
- 'rel' => 'facebox',
- 'link_class' => 'elgg-longtext-control',
+ 'rel' => 'lightbox',
+ 'link_class' => 'elgg-longtext-control elgg-lightbox',
'priority' => 1,
));
+
+ elgg_load_js('lightbox');
+ elgg_load_css('lightbox');
return $items;
}