commit | 4a24b725f9faa97dcb95cb4de0cb36f6770b8230 | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Tue Oct 13 12:44:25 2020 +0200 |
committer | Akron <nils@diewald-online.de> | Tue Oct 13 12:44:25 2020 +0200 |
tree | 3a0e7442aa18535feab03e3c66f13add895eef32 | |
parent | ff78fef6f19e02eca76dd93e93f6b6523d16b5ea [diff] |
Fix hint alert at position 0 Change-Id: Ib15389e581fab07844256317b7d8d6cd5c4e608c
diff --git a/dev/js/src/init.js b/dev/js/src/init.js index 4b19b7e..df56b80 100644 --- a/dev/js/src/init.js +++ b/dev/js/src/init.js
@@ -261,7 +261,7 @@ KorAP.koralQuery["errors"].forEach(function(e) { // Malformed query - if (e[0] === 302 && e[2]) { + if (e[0] === 302 && e[2] !== undefined) { obj.hint = hintClass.create(); obj.hint.alert(e[2], e[1]); }