mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-17 11:30:54 +00:00
Fix volume scroll with Firefox. Closes #310
This commit is contained in:
parent
ef626364db
commit
a45dc472b7
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ export default class Player extends Module {
|
|||
|
||||
} else if ( enabled && ! inst._ffz_scroll_handler ) {
|
||||
inst.playerRef.addEventListener('wheel', inst._ffz_scroll_handler = e => {
|
||||
const delta = e.wheelDelta || -e.detail,
|
||||
const delta = e.wheelDelta || e.deltaY || -e.detail,
|
||||
player = inst.player;
|
||||
|
||||
if ( player ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue