Fix firefox support

This commit is contained in:
Daniel Bulant 2021-02-27 16:31:43 +01:00
parent 8c987730fd
commit f9d592bf32

View file

@ -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();
}