diff options
author | cash <cash.costello@gmail.com> | 2011-12-11 21:32:19 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-12-11 21:32:19 -0500 |
commit | 30e4d9f0a2e45e640de3e57bd5f432022141317c (patch) | |
tree | 30afa209c4072f5aca6f865d219a3fd3c235bb5e /views | |
parent | 175bcd1e19e8094a0096dbe678e5f7748b664a89 (diff) | |
download | elgg-30e4d9f0a2e45e640de3e57bd5f432022141317c.tar.gz elgg-30e4d9f0a2e45e640de3e57bd5f432022141317c.tar.bz2 |
add the old slideshow back in
Diffstat (limited to 'views')
-rw-r--r-- | views/default/js/photos/tidypics.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/views/default/js/photos/tidypics.php b/views/default/js/photos/tidypics.php index 896192eea..c97a1eadb 100644 --- a/views/default/js/photos/tidypics.php +++ b/views/default/js/photos/tidypics.php @@ -9,7 +9,9 @@ elgg.provide('elgg.tidypics'); elgg.tidypics.init = function() { - $(".tidypics-lightbox").fancybox({'type': 'image'}); + if ($(".tidypics-lightbox").length) { + $(".tidypics-lightbox").fancybox({'type': 'image'}); + } $("#tidypics-sort").sortable({ opacity: 0.7, |