Globally enable prettyPhoto in app js

This commit is contained in:
Wesley Moore 2010-08-04 12:53:43 +10:00
parent eabac8172a
commit 72309b4019
2 changed files with 3 additions and 2 deletions

View file

@ -44,5 +44,7 @@ jQuery(function() {
input.val(''); input.val('');
} }
$('#search').show(); $('#search').show();
});
// Enable light box
$("a[rel^='prettyPhoto']").prettyPhoto({theme: "facebook"});
});

View file

@ -20,7 +20,6 @@ jQuery(function () {
li.css("background-position", (i * -75) + 'px -75px'); li.css("background-position", (i * -75) + 'px -75px');
ul.append(li); ul.append(li);
}); });
$("a[rel^='prettyPhoto']").prettyPhoto({theme: "facebook"});
}; };
// Populate Flickr // Populate Flickr