aboutsummaryrefslogtreecommitdiff
path: root/views/default/js/lightbox.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/js/lightbox.php')
-rw-r--r--views/default/js/lightbox.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/default/js/lightbox.php b/views/default/js/lightbox.php
index c45d46098..a1f018eea 100644
--- a/views/default/js/lightbox.php
+++ b/views/default/js/lightbox.php
@@ -3,7 +3,8 @@
* Elgg lightbox
*
* Usage
- * Apply the class elgg-lightbox to links.
+ * Call elgg_load_js('lightbox') and elgg_load_css('lightbox') then
+ * apply the class elgg-lightbox to links.
*
* Advanced Usage
* Elgg is distributed with the Fancybox jQuery library. Please go to
@@ -16,6 +17,7 @@
* @todo add support for passing options: $('#myplugin-lightbox').elgg.ui.lightbox(options);
*/
+if (0) { ?><script><?php }
?>
/**