File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -174,8 +174,6 @@ function setLoading(loading, fallback) {
174
174
* @returns {[Function, Function, Function] }
175
175
*/
176
176
function playPauser ( audioEl ) {
177
- let startedPlaylist = false ;
178
-
179
177
const __play = ( ) => {
180
178
audioEl . play ( ) ;
181
179
const songEl = document . getElementById (
@@ -193,12 +191,6 @@ function playPauser(audioEl) {
193
191
setPlayerButtonIcon ( playPauseToggleExapndedEl , Player . icons . play ) ;
194
192
} ;
195
193
const __toggle = ( ) => {
196
- const playPlaylistEl = document . getElementById ( "play-playlist-button" ) ;
197
- if ( ! ! playPlaylistEl && ! startedPlaylist ) {
198
- playPlaylistEl . click ( ) ;
199
- startedPlaylist = true ;
200
- return ;
201
- }
202
194
if ( audioEl . paused ) {
203
195
__play ( ) ;
204
196
} else {
You can’t perform that action at this time.
0 commit comments