Skip to content

Commit e5c426f

Browse files
authored
Fix return to be consistent fixing eslint
1 parent 6ebbd29 commit e5c426f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/tab/tab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@
388388
while (element.nodeName.toLowerCase() !== tagName) {
389389
// Ensure we haven't reached the top of the dom tree
390390
if (element.parentElement === null) {
391-
return;
391+
return false;
392392
}
393393
element = element.parentElement;
394394
}

0 commit comments

Comments
 (0)