From a0fdd02eef9cae8667e129ad82fcc1497d280ed3 Mon Sep 17 00:00:00 2001 From: MickeyKay Date: Tue, 6 May 2014 17:53:43 -0700 Subject: [PATCH] Fixed equal height columns jQuery with outerHeight(). Fixed labelling errors on admin settings. --- lib/admin/admin-functions.php | 22 +++++++++++++--------- lib/js/theme-jquery.js | 4 ++-- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/lib/admin/admin-functions.php b/lib/admin/admin-functions.php index 2af6ee1..e4e9883 100644 --- a/lib/admin/admin-functions.php +++ b/lib/admin/admin-functions.php @@ -161,20 +161,22 @@ function trestle_settings_box() {

-
-

-
-

-

/>

-
-

+

+
+

@@ -194,7 +196,9 @@ function trestle_settings_box() {

-

/>

+

+ /> +

@@ -255,7 +259,7 @@ function trestle_settings_box() { />

- px  +

diff --git a/lib/js/theme-jquery.js b/lib/js/theme-jquery.js index ffb1f24..1a212ea 100644 --- a/lib/js/theme-jquery.js +++ b/lib/js/theme-jquery.js @@ -101,8 +101,8 @@ jQuery(window).load(function() { tallest = (minHeight) ? minHeight : 0; items.each(function() { jQuery(this).height('auto'); - if(jQuery(this).height() > tallest) { - tallest = jQuery(this).height(); + if(jQuery(this).outerHeight() > tallest) { + tallest = jQuery(this).outerHeight(); } });