Skip to content

Commit

Permalink
Working on lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
brendankeogh-sf authored and diasbruno committed Jun 1, 2021
1 parent 7e732d7 commit ce94d86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/helpers/tabbable.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ function hidesContents(element) {
// if 'overflow: visible' set, check if there is actually any overflow
(element.scrollWidth <= 0 && element.scrollHeight <= 0)
: style.getPropertyValue("display") == "none";
} catch(exception) {
} catch (exception) {
console.warn('Failed to inspect element style');
return false;
}
}
Expand Down

0 comments on commit ce94d86

Please sign in to comment.