From c832888234528f076daf2cdca03d86e68eb51a7d Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Wed, 1 Jul 2009 20:57:21 +0000 Subject: Centres the overlay container as best as it can (given that we can't calculate the height of the XHR response container without actually loading it into the DOM). --- js/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/util.js') diff --git a/js/util.js b/js/util.js index d28ab62e0..92fc3a3da 100644 --- a/js/util.js +++ b/js/util.js @@ -272,7 +272,7 @@ function NoticeAttachments() { color : '#000', opacity : '0.6', zIndex : 99, - center : true, + center : false, imgLoading : $('address .url')[0].href+'theme/base/images/illustrations/illu_progress_loading-01.gif', bgClickToClose : true, success : function() { @@ -281,7 +281,7 @@ function NoticeAttachments() { }, timeout : 0, autoHide : true, - css : {'max-width':'502px'} + css : {'max-width':'502px', 'top':'22.5%', 'left':'32.5%'} }; $('#content .notice a.attachment').click(function() { -- cgit v1.2.3-54-g00ecf