2012-10-14 19:05:16 +02:00
|
|
|
(function($) {
|
2012-11-09 12:55:20 +01:00
|
|
|
// Fetch available headers and apply jQuery.masonry
|
|
|
|
// once the images have loaded.
|
|
|
|
$( function() {
|
|
|
|
var $headers = $('.available-headers');
|
2012-10-14 19:05:16 +02:00
|
|
|
|
2012-11-09 12:55:20 +01:00
|
|
|
$headers.imagesLoaded( function() {
|
|
|
|
$headers.masonry({
|
|
|
|
itemSelector: '.default-header'
|
|
|
|
});
|
2012-10-14 19:05:16 +02:00
|
|
|
});
|
|
|
|
});
|
2012-11-09 12:55:20 +01:00
|
|
|
}(jQuery));
|