diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-07-02 08:22:09 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-07-02 08:22:09 -0400 |
commit | d04ab14a5a15f9119bedca1332eb516ecf5ca483 (patch) | |
tree | ad7fdf3b4a585c5d97bcac44b01ba2fbb8887b97 /js/util.js | |
parent | aea546c12234e9b24abba8da5d172a99e8b93ac2 (diff) | |
parent | 734f631e1ea9022c6de492e0d2979c9ca00585a4 (diff) |
Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x
Diffstat (limited to 'js/util.js')
-rw-r--r-- | js/util.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/util.js b/js/util.js index d28ab62e0..638104c1c 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() { @@ -298,7 +298,7 @@ function NoticeAttachments() { if (anchor.children('img').length == 0) { t = setTimeout(function() { - $.get($('address .url')[0].href+'/attachment/' + (anchor.attr('id').substring('attachment'.length + 1)) + '/thumbnail', null, function(data) { + $.get($('address .url')[0].href+'attachment/' + (anchor.attr('id').substring('attachment'.length + 1)) + '/thumbnail', null, function(data) { anchor.append(data); }); }, 500); |