Skip to content

Commit

Permalink
Added semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Sep 19, 2024
1 parent 57f19f1 commit 9006317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/assets/js/src/onload-hacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ langSelector.onmouseover = langSelector.onmouseout = langMenu.onmouseover = lang
if (event.type == 'mouseover') langMenu.style.display = 'block';
else if (event.type == 'mouseout')
hideTimeout = setTimeout(() => langMenu.style.display = 'none', 55);
}
};
document.querySelectorAll('#language-selector a').forEach(link => { // add listener to hide tooltips
link.addEventListener('mouseenter', () => { link.removeAttribute('title'); });});
document.querySelectorAll('.dropdown-link').forEach(link => { // add listener to dismisss menu
Expand Down

0 comments on commit 9006317

Please sign in to comment.