Skip to content

Commit 30a07de

Browse files
committed
Making sure to disable all buttons
Pause button selector is a NodeList, not a single node. One spot where I missed this.
1 parent b19863e commit 30a07de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/container/plugins/PausePlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134

135135
plugin.close = function()
136136
{
137-
this._disableButton(this.pauseButton);
137+
this.pauseButton.forEach(this._disableButton.bind(this));
138138
this.paused = false;
139139
};
140140

0 commit comments

Comments
 (0)