From ce94d86565d0f60921672a40fc64b9119e82cd86 Mon Sep 17 00:00:00 2001 From: Brendan Keogh Date: Fri, 28 May 2021 07:44:51 -0600 Subject: [PATCH] Working on lint error --- src/helpers/tabbable.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/helpers/tabbable.js b/src/helpers/tabbable.js index 8d7240c7..f149c9de 100644 --- a/src/helpers/tabbable.js +++ b/src/helpers/tabbable.js @@ -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; } }