From 5748639c087f3974ac58183e0fb35e6234c45a7b Mon Sep 17 00:00:00 2001 From: maxwell Date: Thu, 10 Mar 2011 21:33:35 -0800 Subject: [PATCH] sm ms audio tag --- public/javascripts/stream.js | 6 ++++++ 1 file changed, 6 insertions(+) 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){