I have this code
var _hoverTriggers = document.querySelectorAll('.JS-navigator__trigger--hover');
hoverintent(_hoverTriggers,
function() {
console.log('in');
}, function() {
console.log('out');
}
);
And I am receiving this error:
Uncaught TypeError: e.addEventListener is not a function
The most common use for this plugin is triggering mega menus on navigation items. It doesn't make sense not supporting query selector all in this context.