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