From ccfe0e018d56bc457db87a8eb5da3bf44b1a0ffd Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Tue, 30 Jun 2009 03:05:45 +0000 Subject: Updated jOverlay version and set max-width for images --- js/util.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'js/util.js') 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(''); $('#jOverlayContent button').click($.closeOverlay); }, - timeout : 0 + timeout : 0, + autoHide : true, + css : {'max-width':'502px'} }; $('#content .notice a.attachment').click(function() { -- cgit v1.2.3-54-g00ecf