From f49d45bbd1dbbe4614cd2876fa9ca36f4ec7dba4 Mon Sep 17 00:00:00 2001 From: David Cowgill Date: Sat, 22 Dec 2012 15:36:54 +0900 Subject: [PATCH] add param to support jQuery 1.8x --- jquery.leanModal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jquery.leanModal.js b/jquery.leanModal.js index facf07e..f5d68bf 100644 --- a/jquery.leanModal.js +++ b/jquery.leanModal.js @@ -32,8 +32,8 @@ close_modal(modal_id); }); - var modal_height = $(modal_id).outerHeight(); - var modal_width = $(modal_id).outerWidth(); + var modal_height = $(modal_id).outerHeight(false); + var modal_width = $(modal_id).outerWidth(false); $('#lean_overlay').css({ 'display' : 'block', opacity : 0 });