commit | 2758b58a73c95dca44a3bc3b114b10b84b6388b9 | [log] [tgz] |
---|---|---|
author | hebasta <stallkamp@ids-mannheim.de> | Mon Nov 19 15:59:42 2018 +0100 |
committer | hebasta <stallkamp@ids-mannheim.de> | Tue Nov 20 12:51:59 2018 +0100 |
tree | 386e0e9e38095b582b797c030f9df3eaf34a06f7 | |
parent | c82b1bc0eacb377e6cea47cafb1242a0b3793457 [diff] |
Definition of vc globally Change-Id: Ia4e88e432937f6e3354087b8fa93f2fd5f87a262
diff --git a/dev/js/src/init.js b/dev/js/src/init.js index 1666588..e2d89b9 100644 --- a/dev/js/src/init.js +++ b/dev/js/src/init.js
@@ -61,6 +61,8 @@ ); }; + KorAP.vc = vcClass.create(vcArray); + domReady(function (event) { var obj = {}; @@ -87,7 +89,7 @@ var vcname, vcchoose; var input = d.getElementById('collection'); - var vc = vcClass.create(vcArray); + var vc = KorAP.vc; // Add vc name object if (input) {