remove extra / in attachment code

This commit is contained in:
Evan Prodromou 2009-07-01 13:43:36 -04:00
parent 721ba6c88f
commit 67e3bf0f05

View File

@ -285,7 +285,7 @@ function NoticeAttachments() {
}; };
$('#content .notice a.attachment').click(function() { $('#content .notice a.attachment').click(function() {
$().jOverlay({url: $('address .url')[0].href+'/attachment/' + ($(this).attr('id').substring('attachment'.length + 1)) + '/ajax'}); $().jOverlay({url: $('address .url')[0].href+'attachment/' + ($(this).attr('id').substring('attachment'.length + 1)) + '/ajax'});
return false; return false;
}); });