fix broken quality template

This commit is contained in:
DIYgod 2018-02-22 12:28:07 +08:00
parent ee618f7d20
commit 360878bcc7
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "dplayer",
"version": "1.22.0",
"version": "1.22.1",
"description": "Wow, such a lovely HTML5 danmaku video player",
"main": "dist/DPlayer.min.js",
"style": "dist/DPlayer.min.css",

View File

@ -102,7 +102,7 @@
<div class="dplayer-quality">
<button class="dplayer-icon dplayer-quality-icon">{{ options.video.quality[options.video.defaultQuality].name }}</button>
<div class="dplayer-quality-mask">
<div class="dplayer-quality-list"></div>
<div class="dplayer-quality-list">
{{ each options.video.quality }}
<div class="dplayer-quality-item" data-index="{{ $index }}">{{ $value.name }}</div>
{{ /each }}