diff options
author | Chad Kieffer <chad@2tbsp.com> | 2009-01-01 22:22:18 +0000 |
---|---|---|
committer | Chad Kieffer <chad@2tbsp.com> | 2009-01-01 22:22:18 +0000 |
commit | b709c7eca094a7f40ed020c7a4c28ea06dee0149 (patch) | |
tree | c227a461bfa2557bd4c304c34ce919487b7897bb /themes/default/js/ui.init.js | |
parent | 50dceb50159c407629274352143f539d252bae6f (diff) |
For album-specific JS, key off of #gAlbumGrid rather than .gItem.
Diffstat (limited to 'themes/default/js/ui.init.js')
-rw-r--r-- | themes/default/js/ui.init.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/js/ui.init.js b/themes/default/js/ui.init.js index 32ee0979..e373005e 100644 --- a/themes/default/js/ui.init.js +++ b/themes/default/js/ui.init.js @@ -9,10 +9,10 @@ var shortForms = new Array( "#gAddTagForm" ); -$("document").ready(function() { +$(document).ready(function() { // Album view only - if ($(".gItem").length) { + if ($("#gAlbumGrid").length) { // Vertical align thumbnails/metadata in album grid $(".gItem").wrapInner("<div></div>") $('.gItem div').vAlign(); |