Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ function noop() {}
* @param {HTMLElement} menuNode the menu element of the component
*/
function scrollIntoView(node, menuNode) {
if (node === null) {
if (!node) {
return
}

0 comments on commit 1873efa

Please sign in to comment.