From ae22abcdf64e10dc9f96357fbd74b3efd918d4c1 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sun, 19 Jul 2009 16:45:14 -0600 Subject: Fire .vAlign() when gItem's changed, ex. rotated. Fix for #304. --- themes/default/js/ui.init.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'themes/default/js') diff --git a/themes/default/js/ui.init.js b/themes/default/js/ui.init.js index 92a42ded..b7508ee5 100644 --- a/themes/default/js/ui.init.js +++ b/themes/default/js/ui.init.js @@ -57,6 +57,9 @@ $(document).ready(function() { if ($("#gAlbumGrid").length) { // Vertical align thumbnails/metadata in album grid $(".gItem").vAlign(); + $(".gItem").change(function(){ + $(".gItem").vAlign(); + }); } // Photo/Item item view only -- cgit v1.2.3