mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 13:24:41 +03:00
Beautify js code
This commit is contained in:
parent
a3f76b3369
commit
55dff20bc1
@ -64,8 +64,7 @@
|
||||
var player = $('audio[data-file="'+file+'"]');
|
||||
if (player.length > 0) {
|
||||
player.get(0).play();
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
var audioTag = $("<audio>", {autoplay: true, style: "display: none"}).append(
|
||||
'<source src="' + file + '.wav" type="audio/x-wav" />' +
|
||||
'<source src="' + file + '.mp3" type="audio/mpeg" codecs="mp3" />' +
|
||||
|
Loading…
Reference in New Issue
Block a user