diff --git a/public/javascripts/stream.js b/public/javascripts/stream.js index 1306832fb..3ec3af2b1 100644 --- a/public/javascripts/stream.js +++ b/public/javascripts/stream.js @@ -10,6 +10,12 @@ var Stream = { Diaspora.widgets.timeago.updateTimeAgo(); $stream.not(".show").delegate("a.show_post_comments", "click", Stream.toggleComments); + //audio linx + $("a[target='_blank']").each(function(){ + if($(this).attr('href').match(/\.mp3$/)) { + $(this).html("");} + }); + // comment link form focus $stream.delegate(".focus_comment_textarea", "click", function(e){