get rid of the period, it might be screwing stuff up

This commit is contained in:
Maxwell Salzberg 2011-03-11 00:12:48 -08:00
parent 189b7fb5ac
commit e2903a1251

View file

@ -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("<audio src='" + this.href + "' controls='controls'>mom</audio>");}
});