diff --git a/src/js/template.js b/src/js/template.js index b64cfb3..46bc942 100644 --- a/src/js/template.js +++ b/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');