From 175bcd1e19e8094a0096dbe678e5f7748b664a89 Mon Sep 17 00:00:00 2001
From: cash <cash.costello@gmail.com>
Date: Sun, 11 Dec 2011 21:13:20 -0500
Subject: added lightbox to single images

---
 views/default/js/photos/tidypics.php | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'views/default/js/photos')

diff --git a/views/default/js/photos/tidypics.php b/views/default/js/photos/tidypics.php
index 509d2116a..896192eea 100644
--- a/views/default/js/photos/tidypics.php
+++ b/views/default/js/photos/tidypics.php
@@ -8,6 +8,9 @@
 elgg.provide('elgg.tidypics');
 
 elgg.tidypics.init = function() {
+
+	$(".tidypics-lightbox").fancybox({'type': 'image'});
+
 	$("#tidypics-sort").sortable({
 		opacity: 0.7,
 		revert: true,
-- 
cgit v1.2.3