commit | 4dd77bce003cf4ff9000dc4bc3330c142fdc9d85 | [log] [tgz] |
---|---|---|
author | hebasta <stallkamp@ids-mannheim.de> | Thu Feb 07 12:57:57 2019 +0100 |
committer | Akron <nils@diewald-online.de> | Fri Feb 08 10:08:41 2019 +0100 |
tree | 70f1664fe51e25d7e08ac1f4e8933186f8b8c64b | |
parent | de595b44f5cc98c283e337cc8333a159b1b90c8c [diff] [blame] |
Added EventListener to vc-Element instead to document Change-Id: I2321f1b2180067b83a9e0579c13010586192de1b
diff --git a/dev/js/src/vc/docgroup.js b/dev/js/src/vc/docgroup.js index 858e847..c73a325 100644 --- a/dev/js/src/vc/docgroup.js +++ b/dev/js/src/vc/docgroup.js
@@ -211,7 +211,7 @@ group.appendChild(op.element()); var vcchevent = new CustomEvent('vcChange', {'detail':this}); - document.dispatchEvent(vcchevent); + KorAP.vc.element().dispatchEvent(vcchevent); return this; },