make sure audio player does not delete sm text
This commit is contained in:
parent
2e72fc09c6
commit
a419ddac11
1 changed files with 2 additions and 1 deletions
|
|
@ -13,7 +13,8 @@ var Stream = {
|
||||||
//audio linx
|
//audio linx
|
||||||
$(".stream a[target='_blank']").each(function(){
|
$(".stream a[target='_blank']").each(function(){
|
||||||
if($(this).attr('href').match(/\.mp3$|\.ogg$/)) {
|
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>");}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue