]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
remove extra / in attachment code
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 1 Jul 2009 17:43:36 +0000 (13:43 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 1 Jul 2009 17:43:36 +0000 (13:43 -0400)
js/util.js

index 1e6dc725117cf5c3e3247a1bcc5ec31acaaf67d4..d28ab62e096533e977d453aa681e823b7cf6c17a 100644 (file)
@@ -285,10 +285,10 @@ function NoticeAttachments() {
     };
 
     $('#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;
     });
-    
+
     var t;
     $("body:not(#shownotice) #content .notice a.thumbnail").hover(
         function() {