mirror of
https://github.com/danbulant/heaventaker
synced 2026-06-20 15:11:35 +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;
|
||||
}
|
||||
var buttons;
|
||||
/**
|
||||
* @argument {MouseEvent} e
|
||||
*/
|
||||
function next(e) {
|
||||
if(e.path.includes(buttons)) return;
|
||||
var path = e.path || (e.composedPath || (() => {[]}))();
|
||||
if(path.includes(buttons)) return;
|
||||
reset();
|
||||
select();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue