mirror of
https://github.com/danbulant/heaventaker
synced 2026-07-07 12:11:01 +00:00
Fix firefox support
This commit is contained in:
parent
8c987730fd
commit
f9d592bf32
1 changed files with 5 additions and 1 deletions
|
|
@ -86,8 +86,12 @@
|
||||||
activeButton = -1;
|
activeButton = -1;
|
||||||
}
|
}
|
||||||
var buttons;
|
var buttons;
|
||||||
|
/**
|
||||||
|
* @argument {MouseEvent} e
|
||||||
|
*/
|
||||||
function next(e) {
|
function next(e) {
|
||||||
if(e.path.includes(buttons)) return;
|
var path = e.path || (e.composedPath || (() => {[]}))();
|
||||||
|
if(path.includes(buttons)) return;
|
||||||
reset();
|
reset();
|
||||||
select();
|
select();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue