ajk ms or is a single pipe
This commit is contained in:
parent
e2903a1251
commit
14033e7b5f
1 changed files with 1 additions and 1 deletions
|
|
@ -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>");}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue