ng2-sidebar
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -149,3 +149,3 @@ "use strict"; | ||
} | ||
if (_this.keyClose) { | ||
if (_this.keyClose && !_this._onKeyDownAttached) { | ||
_this._document.body.addEventListener('keydown', _this._onKeyDown); | ||
@@ -152,0 +152,0 @@ _this._onKeyDownAttached = true; |
{ | ||
"name": "ng2-sidebar", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"description": "A sidebar component for Angular 2.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -338,3 +338,3 @@ import { | ||
if (this.keyClose) { | ||
if (this.keyClose && !this._onKeyDownAttached) { | ||
this._document.body.addEventListener('keydown', this._onKeyDown); | ||
@@ -341,0 +341,0 @@ this._onKeyDownAttached = true; |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
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
53477
1