Skip to content

Commit

Permalink
Merge ddfc0f6 into d8a667f
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshStegmaier committed Jan 22, 2021
2 parents d8a667f + ddfc0f6 commit 95f1965
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/features/volume.js
Expand Up @@ -393,8 +393,9 @@ Object.assign(MediaElementPlayer.prototype, {
t.globalBind('mousemove.vol', (event) => {
const target = event.target;
if (mouseIsDown && (target === volumeSlider ||
(typeof target.closest == 'function' &&
target.closest((mode === 'vertical' ? `.${t.options.classPrefix}volume-slider` :
`.${t.options.classPrefix}horizontal-volume-slider`)))) {
`.${t.options.classPrefix}horizontal-volume-slider`))))) {
handleVolumeMove(event);
}
});
Expand Down

0 comments on commit 95f1965

Please sign in to comment.