summaryrefslogtreecommitdiff
path: root/js/util.js
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-06-30 03:05:45 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-06-30 03:05:45 +0000
commitccfe0e018d56bc457db87a8eb5da3bf44b1a0ffd (patch)
tree97f291586a6e259671f2bd1d6bee085a52493653 /js/util.js
parent357f3784b590f43ec0968a4c713b0fca2ec26074 (diff)
Updated jOverlay version and set max-width for images
Diffstat (limited to 'js/util.js')
-rw-r--r--js/util.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/util.js b/js/util.js
index e7c54b74a..1e6dc7251 100644
--- a/js/util.js
+++ b/js/util.js
@@ -279,7 +279,9 @@ function NoticeAttachments() {
$('#jOverlayContent').append('<button>&#215;</button>');
$('#jOverlayContent button').click($.closeOverlay);
},
- timeout : 0
+ timeout : 0,
+ autoHide : true,
+ css : {'max-width':'502px'}
};
$('#content .notice a.attachment').click(function() {