diff --git a/public/javascripts/stream.js b/public/javascripts/stream.js index ffcd7c034..83da99d72 100644 --- a/public/javascripts/stream.js +++ b/public/javascripts/stream.js @@ -12,7 +12,7 @@ var Stream = { $stream.not(".show").delegate("a.show_post_comments", "click", Stream.toggleComments); //audio linx $(".stream a[target='_blank']").each(function(){ - if($(this).attr('href').match(/mp3$||ogg$/)) { + if($(this).attr('href').match(/\.mp3$|\.ogg$/)) { $(this).parent().html("");} });