diff options
author | Chad Kieffer <ckieffer@gmail.com> | 2009-08-09 11:40:39 -0600 |
---|---|---|
committer | Chad Kieffer <ckieffer@gmail.com> | 2009-08-09 11:40:39 -0600 |
commit | de00a4ac394de6ce2df4bd6e52ae52f17701f702 (patch) | |
tree | d0517be9f5f2bc3e42da46762debe08746c56047 /lib/gallery.common.js | |
parent | 2f4c4a3f706d98be7dd41f8fa7c9124314c515c8 (diff) |
Explicitly use gValign class rather than first child.
Diffstat (limited to 'lib/gallery.common.js')
-rw-r--r-- | lib/gallery.common.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gallery.common.js b/lib/gallery.common.js index 08656a83..b1160e31 100644 --- a/lib/gallery.common.js +++ b/lib/gallery.common.js @@ -13,7 +13,7 @@ container = 'div'; } $(this).html("<" + container + " class=\"gValign\">" + $(this).html() + "</" + container + ">"); - var el = $(this).children(container + ":first"); + var el = $(this).children(container + ".gValign"); var elh = $(el).height(); var ph = $(this).height(); var nh = (ph - elh) / 2; |