make sure audio player does not delete sm text

This commit is contained in:
maxwell 2011-03-14 18:20:03 -07:00
parent 2e72fc09c6
commit a419ddac11

View file

@ -13,7 +13,8 @@ var Stream = {
//audio linx
$(".stream a[target='_blank']").each(function(){
if($(this).attr('href').match(/\.mp3$|\.ogg$/)) {
$(this).parent().html("<audio preload='none' src='" + this.href + "' controls='controls'>mom</audio>");}
$(this).hide();
$(this).parent().append("<audio preload='none' src='" + this.href + "' controls='controls'>mom</audio>");}
});