Add referTo per default to vc list
Change-Id: I7badcf7ba15036a8d54991959d28718016ae575c
diff --git a/dev/js/src/vc.js b/dev/js/src/vc.js
index b0ebc44..07731c7 100644
--- a/dev/js/src/vc.js
+++ b/dev/js/src/vc.js
@@ -142,8 +142,17 @@
KorAP._overrideStyles = true;
};
+ var l;
+ if (keyList) {
+ l = keyList.slice();
+ l.unshift(['referTo', 'ref']);
+ }
+ else {
+ l = [['referTo', 'ref']];
+ }
+
// Create key menu
- KorAP._vcKeyMenu = menuClass.create(keyList);
+ KorAP._vcKeyMenu = menuClass.create(l);
KorAP._vcKeyMenu.limit(6);
return this;