diff --git a/views/profile/profile_grid.jade b/views/profile/profile_grid.jade index ad7a5a1..4c70495 100644 --- a/views/profile/profile_grid.jade +++ b/views/profile/profile_grid.jade @@ -1,6 +1,15 @@ extends ../layout block content + script(src='/public/jquery.masonry.min.js') + script + var $container = $('.thumbnails'); + $container.imagesLoaded(function(){ + $container.masonry({ + itemSelector : '.item', + columnWidth : 240 + }); + }); div.page-header.profile_page-header h1 #{connection}