From b709c7eca094a7f40ed020c7a4c28ea06dee0149 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Thu, 1 Jan 2009 22:22:18 +0000 Subject: For album-specific JS, key off of #gAlbumGrid rather than .gItem. --- themes/default/js/ui.init.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'themes/default/js/ui.init.js') 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("
") $('.gItem div').vAlign(); -- cgit v1.2.3