@lion/button
Advanced tools
Comparing version 0.3.22 to 0.3.23
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.3.23](https://github.com/ing-bank/lion/compare/@lion/button@0.3.22...@lion/button@0.3.23) (2019-10-10) | ||
### Bug Fixes | ||
* **button:** guard against _nativeButton not defined ([1a22c9b](https://github.com/ing-bank/lion/commit/1a22c9b)) | ||
## [0.3.22](https://github.com/ing-bank/lion/compare/@lion/button@0.3.21...@lion/button@0.3.22) (2019-10-09) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@lion/button", | ||
"version": "0.3.22", | ||
"version": "0.3.23", | ||
"description": "A button that is easily styleable and accessible in all contexts", | ||
@@ -46,3 +46,3 @@ "author": "ing-bank", | ||
}, | ||
"gitHead": "dfb42593d26ea91f0b32892f8db3a3a6e5ec22ed" | ||
"gitHead": "a993f8e33f646cf250cc8b11d684c8c6f9486341" | ||
} |
@@ -178,3 +178,3 @@ import { css, html, SlotMixin, DisabledWithTabIndexMixin, LitElement } from '@lion/core'; | ||
__clickDelegationHandler() { | ||
if (this.type === 'submit' && this._nativeButtonNode.form) { | ||
if (this.type === 'submit' && this._nativeButtonNode && this._nativeButtonNode.form) { | ||
this._nativeButtonNode.form.dispatchEvent(new Event('submit')); | ||
@@ -181,0 +181,0 @@ this._nativeButtonNode.form.submit(); |
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
39215