summaryrefslogtreecommitdiff
path: root/js/util.js
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-07-01 20:57:21 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-07-01 20:57:21 +0000
commitc832888234528f076daf2cdca03d86e68eb51a7d (patch)
tree0d585eadcd0843529f39ba05e7b6258a3f7d08d0 /js/util.js
parent3b6ff92495e7354361fbb7f93ccb83d96c9e4452 (diff)
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).
Diffstat (limited to 'js/util.js')
-rw-r--r--js/util.js4
1 files changed, 2 insertions, 2 deletions
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() {