aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy/theme.php
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-05-04 17:06:17 -0400
committerSimon L'nu <simon.lnu@gmail.com>2012-05-04 17:06:17 -0400
commit20ea1b7d4bbfcfc0139b66278be383b0378b545f (patch)
tree4e02064bfc1537a85a7b4ab202d73b6ff1034ebe /view/theme/dispy/theme.php
parent5830c32dceb2429656ee4957690dd78c24641f02 (diff)
downloadvolse-hubzilla-20ea1b7d4bbfcfc0139b66278be383b0378b545f.tar.gz
volse-hubzilla-20ea1b7d4bbfcfc0139b66278be383b0378b545f.tar.bz2
volse-hubzilla-20ea1b7d4bbfcfc0139b66278be383b0378b545f.zip
fix lightbox; finished dark, now on to light
Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
Diffstat (limited to 'view/theme/dispy/theme.php')
-rw-r--r--view/theme/dispy/theme.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php
index eb7073268..ee8698cc0 100644
--- a/view/theme/dispy/theme.php
+++ b/view/theme/dispy/theme.php
@@ -20,7 +20,6 @@ function dispy_init(&$a) {
/** @purpose set some theme defaults
*/
$cssFile = null;
- $colour = false;
$colour = get_pconfig(local_user(), "dispy", "colour");
$baseurl = $a->get_baseurl($ssl_state);
@@ -44,7 +43,10 @@ function dispy_init(&$a) {
<script type="text/javascript" src="$baseurl/view/theme/dispy/js/modernizr.custom.2.5.3.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
- $('.group-edit-icon').hover(
+ // Select all links with lightbox class
+ $("a.lightbox").fancybox();
+
+ $('.group-edit-icon').hover(
function() {
$(this).addClass('icon');
$(this).removeClass('iconspacer'); },