From 72309b40191009e4e5749fb5f1d52184bad8314f Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Wed, 4 Aug 2010 12:53:43 +1000 Subject: [PATCH] Globally enable prettyPhoto in app js --- output/js/application.js | 4 +++- output/js/home.js | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/output/js/application.js b/output/js/application.js index bc47947..d1f28be 100644 --- a/output/js/application.js +++ b/output/js/application.js @@ -44,5 +44,7 @@ jQuery(function() { input.val(''); } $('#search').show(); -}); + // Enable light box + $("a[rel^='prettyPhoto']").prettyPhoto({theme: "facebook"}); +}); diff --git a/output/js/home.js b/output/js/home.js index 0ab7cf0..f76fa5a 100644 --- a/output/js/home.js +++ b/output/js/home.js @@ -20,7 +20,6 @@ jQuery(function () { li.css("background-position", (i * -75) + 'px -75px'); ul.append(li); }); - $("a[rel^='prettyPhoto']").prettyPhoto({theme: "facebook"}); }; // Populate Flickr