diff --git a/js/tribute.js b/js/tribute.js index b8f89442..9f2e498f 100644 --- a/js/tribute.js +++ b/js/tribute.js @@ -324,9 +324,9 @@ if (!Array.prototype.find) { if (tribute.menu && tribute.menu.contains(event.target)) { let li = event.target while (li.nodeName.toLowerCase() !== 'li') { - li = li.parentNode; + li = li.parentNode if (!li || li === tribute.menu) { - throw new Error('cannot find the