Comparing version 0.1.5 to 0.1.6
@@ -198,3 +198,3 @@ 'use strict'; | ||
if (key === 'key') { | ||
if (key === 'key' && event.key != null) { | ||
actual = event.key.toLowerCase(); | ||
@@ -201,0 +201,0 @@ } else if (key === 'which') { |
{ | ||
"name": "is-hotkey", | ||
"description": "Check whether a browser event matches a hotkey.", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": "git://github.com/ianstormtaylor/is-hotkey.git", |
@@ -168,3 +168,3 @@ | ||
if (key === 'key') { | ||
if (key === 'key' && event.key != null) { | ||
actual = event.key.toLowerCase() | ||
@@ -171,0 +171,0 @@ } else if (key === 'which') { |
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
13855