浏览代码

Update template.js

A-Circle Zhang 7 年之前
父节点
当前提交
523d5f2699
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/js/template.js

+ 1 - 0
src/js/template.js

@@ -30,6 +30,7 @@ class Template {
         this.volumeBarWrap = this.container.querySelector('.dplayer-volume-bar');
         this.volumeBarWrapWrap = this.container.querySelector('.dplayer-volume-bar-wrap');
         this.volumeButton = this.container.querySelector('.dplayer-volume');
+        this.volumeButtonIcon = this.container.querySelector('.dplayer-volume-icon');
         this.volumeIcon = this.container.querySelector('.dplayer-volume-icon .dplayer-icon-content');
         this.playedBar = this.container.querySelector('.dplayer-played');
         this.loadedBar = this.container.querySelector('.dplayer-loaded');