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/docgroupref.js b/dev/js/src/vc/docgroupref.js index f72e27a..9425fb3 100644 --- a/dev/js/src/vc/docgroupref.js +++ b/dev/js/src/vc/docgroupref.js
@@ -111,7 +111,7 @@ }; var vcchevent = new CustomEvent('vcChange', {'detail':this}); - document.dispatchEvent(vcchevent); + KorAP.vc.element().dispatchEvent(vcchevent); return this.element(); },