make KorAP instance configurable
see example.conf
Change-Id: Ia6ece608272cf21efba29e23f948434164487f3d
diff --git a/js/derekovecs.js b/js/derekovecs.js
index f30cd27..2b4d1bc 100644
--- a/js/derekovecs.js
+++ b/js/derekovecs.js
@@ -1,10 +1,5 @@
-function queryKorAPpoliqarp(query) {
- window.open('http://korap.ids-mannheim.de/kalamar/?ql=poliqarp&q='+encodeURIComponent(query), 'KorAP');
-}
-
-
function queryKorAPalternatives(alt1, alt2) {
- queryKorAPpoliqarp("{1:[orth="+ alt1 +"]} | {2:[orth=" + alt2 +"]}");
+ queryKorAP("{1:[orth="+ alt1 +"]} | {2:[orth=" + alt2 +"]}");
}
function paradigmatorClick(e, target, paradigmator) {