Skip to content

Commit ce94d86

Browse files
brendankeogh-sfdiasbruno
authored andcommitted
Working on lint error
1 parent 7e732d7 commit ce94d86

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/helpers/tabbable.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ function hidesContents(element) {
2626
// if 'overflow: visible' set, check if there is actually any overflow
2727
(element.scrollWidth <= 0 && element.scrollHeight <= 0)
2828
: style.getPropertyValue("display") == "none";
29-
} catch(exception) {
29+
} catch (exception) {
30+
console.warn('Failed to inspect element style');
3031
return false;
3132
}
3233
}

0 commit comments

Comments
 (0)