diff options
author | Chad Kieffer <ckieffer@gmail.com> | 2009-09-27 22:49:46 -0600 |
---|---|---|
committer | Chad Kieffer <ckieffer@gmail.com> | 2009-09-27 22:49:46 -0600 |
commit | 6cd8679dec24cd643fa3c2d9bdbf6ac8b938600c (patch) | |
tree | 10b2387f208565a7a48444da7169897201811d2b /themes/wind/js/ui.init.js | |
parent | 8060a8a6594c8bc089098329c52bd1d42a0c7adb (diff) |
Set .gItem height dynamically based on the tallest item in the grid. Addresses ticket #757
Diffstat (limited to 'themes/wind/js/ui.init.js')
-rw-r--r-- | themes/wind/js/ui.init.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/wind/js/ui.init.js b/themes/wind/js/ui.init.js index cb765552..c79e91bd 100644 --- a/themes/wind/js/ui.init.js +++ b/themes/wind/js/ui.init.js @@ -59,8 +59,8 @@ $(document).ready(function() { // Album view only if ($("#gAlbumGrid").length) { - // Vertical align thumbnails/metadata in album grid - $(".gItem").gallery_valign(); + // Set equal height for album items and vertically align thumbnails/metadata + $('.gItem').equal_heights().gallery_valign(); // Initialize thumbnail hover effect $(".gItem").hover( |