fixes breaking hintSpec
Change-Id: Id452970a0bc57eb222643fe0d8acbff1d9a4c8d9
diff --git a/dev/js/spec/hintSpec.js b/dev/js/spec/hintSpec.js
index 5c7a1c7..cefd428 100644
--- a/dev/js/spec/hintSpec.js
+++ b/dev/js/spec/hintSpec.js
@@ -153,7 +153,7 @@
it('should be correctly triggerable', function () {
// https://developer.mozilla.org/samples/domref/dispatchEvent.html
- var hint = KorAP.Hint.create({ "inputField" : input });
+ var hint = hintClass.create({ "inputField" : input });
emitKeyboardEvent(hint.inputField()._el, "keypress", "E", 69);
});