fix bugs in HTML
This commit is contained in:
parent
548faa4bf3
commit
c5776b2a78
|
|
@ -7,7 +7,7 @@
|
|||
[](https://travis-ci.org/DIYgod/APlayer)
|
||||
[](https://www.anotherhome.net/)
|
||||
|
||||
Wow, such a beautiful html5 music player
|
||||
> Wow, such a beautiful html5 music player
|
||||
|
||||
## Introduction
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "aplayer",
|
||||
"version": "1.4.5",
|
||||
"version": "1.4.6",
|
||||
"description": "Wow, such a beautiful html5 music player",
|
||||
"main": "dist/APlayer.min.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -175,7 +175,7 @@
|
|||
|
||||
// fill in HTML
|
||||
let eleHTML = `
|
||||
<div class="aplayer-pic" ${(this.music.pic ? (`style="background-image: url("${encodeURI(this.music.pic)}");"`) : ``)}>
|
||||
<div class="aplayer-pic" ${(this.music.pic ? (`style="background-image: url(${encodeURI(this.music.pic)});"`) : ``)}>
|
||||
<div class="aplayer-button aplayer-play">
|
||||
<i class="demo-icon aplayer-icon-play"></i>
|
||||
</div>
|
||||
|
|
@ -629,7 +629,7 @@
|
|||
}
|
||||
|
||||
if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {
|
||||
module.exports = APlayer
|
||||
module.exports = APlayer;
|
||||
}
|
||||
else {
|
||||
window.APlayer = APlayer;
|
||||
|
|
|
|||
Loading…
Reference in New Issue