focus-lock
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -15,2 +15,5 @@ 'use strict'; | ||
var isElementHidden = function isElementHidden(computedStyle) { | ||
if (!computedStyle || !computedStyle.getPropertyValue) { | ||
return false; | ||
} | ||
return computedStyle.getPropertyValue('display') === 'none' || computedStyle.getPropertyValue('visibility') === 'hidden'; | ||
@@ -17,0 +20,0 @@ }; |
{ | ||
"name": "focus-lock", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "DOM trap for a focus", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
135492
381