fix bugs in HTML

This commit is contained in:
DIYgod 2016-06-13 14:06:27 +08:00
parent 548faa4bf3
commit c5776b2a78
No known key found for this signature in database
GPG Key ID: F8797DD1088C6506
5 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@
[![Travis](https://img.shields.io/travis/DIYgod/APlayer.svg?style=flat-square)](https://travis-ci.org/DIYgod/APlayer)
[![%e2%9d%a4](https://img.shields.io/badge/made%20with-%e2%9d%a4-ff69b4.svg?style=flat-square)](https://www.anotherhome.net/)
Wow, such a beautiful html5 music player
> Wow, such a beautiful html5 music player
## Introduction

2
dist/APlayer.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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": {

View File

@ -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;