Changeset 22504
- Timestamp:
- 11/09/2012 11:55:20 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/custom-header.js
r22228 r22504 1 1 (function($) { 2 // Fetch available headers and apply jQuery.masonry 3 // once the images have loaded. 4 $( function() { 5 var $headers = $('.available-headers'); 2 6 3 var headers = $('.available-headers');4 headers.imagesLoaded( function(){5 headers.masonry({6 itemSelector: '.default-header'7 $headers.imagesLoaded( function() { 8 $headers.masonry({ 9 itemSelector: '.default-header' 10 }); 7 11 }); 8 12 }); 9 10 })(jQuery); 13 }(jQuery));
Note: See TracChangeset
for help on using the changeset viewer.