bug fixes

This commit is contained in:
Inga Kirschnick
2023-07-26 11:25:32 +02:00
parent 27fe4a95e4
commit 5eef2292e7
3 changed files with 18 additions and 15 deletions

View File

@ -289,8 +289,8 @@ class ConcordanceQueryBuilder {
this.elements.yourQueryContent = [];
for (let element of this.elements.yourQuery.childNodes) {
let queryElement = element.dataset.query;
queryElement = Utils.escape(queryElement);
if (queryElement !== 'undefined') {
if (queryElement !== undefined) {
queryElement = Utils.escape(queryElement);
this.elements.yourQueryContent.push(queryElement);
}
}