happy-dom
Advanced tools
Comparing version 0.8.3 to 0.8.4
@@ -392,3 +392,3 @@ "use strict"; | ||
var returnValue = _super.prototype.dispatchEvent.call(this, event); | ||
if (event.bubbles && this.parentNode !== null && !this.dispatchEvent(event)) { | ||
if (event.bubbles && this.parentNode !== null && !this.parentNode.dispatchEvent(event)) { | ||
returnValue = false; | ||
@@ -395,0 +395,0 @@ } |
{ | ||
"name": "happy-dom", | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/capricorn86/happy-dom#readme", |
@@ -221,2 +221,3 @@ # Happy DOM | ||
| ------- | ---------- | ---------------- | | ||
| 0.8.4 | 2019-11-25 | Fixes bug with dispatchEvent() not bubbling correctly. | | ||
| 0.8.3 | 2019-11-22 | Fixes bug with cloneNode() also copying non-node properties. | | ||
@@ -223,0 +224,0 @@ | 0.8.0 | 2019-11-22 | Adds support for previousElementSibling and nextElementSibling. (#18) | |
@@ -220,2 +220,3 @@ import NodeType from './NodeType'; | ||
} | ||
return clone; | ||
@@ -388,3 +389,3 @@ } | ||
if (event.bubbles && this.parentNode !== null && !this.dispatchEvent(event)) { | ||
if (event.bubbles && this.parentNode !== null && !this.parentNode.dispatchEvent(event)) { | ||
returnValue = false; | ||
@@ -391,0 +392,0 @@ } |
Sorry, the diff of this file is not supported yet
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
476448
267