diff --git a/app/static/js/CorpusAnalysis/query-builder/general-query-builder-functions.js b/app/static/js/CorpusAnalysis/query-builder/general-query-builder-functions.js index 97380ca7..e48419d4 100644 --- a/app/static/js/CorpusAnalysis/query-builder/general-query-builder-functions.js +++ b/app/static/js/CorpusAnalysis/query-builder/general-query-builder-functions.js @@ -349,7 +349,7 @@ class GeneralQueryBuilderFunctions { switchToExpertModeParser() { let expertModeInputField = document.querySelector('#corpus-analysis-concordance-form-query'); expertModeInputField.value = ''; - let queryBuilderInputFieldValue = Utils.unescape(document.querySelector('#corpus-analysis-concordance-query-preview').innerHTML.trim()); + let queryBuilderInputFieldValue = nopaque.Utils.unescape(document.querySelector('#corpus-analysis-concordance-query-preview').innerHTML.trim()); if (queryBuilderInputFieldValue !== "" && queryBuilderInputFieldValue !== ";") { expertModeInputField.value = queryBuilderInputFieldValue; } diff --git a/app/templates/main/news_new.html.j2 b/app/templates/main/news_new.html.j2 index 1af2dddd..735eca44 100644 --- a/app/templates/main/news_new.html.j2 +++ b/app/templates/main/news_new.html.j2 @@ -198,7 +198,7 @@ function mastodonStatusToElement(status) { let date = new Date(status.created_at).toLocaleString('en-US'); - let newsElement = Utils.HTMLToElement( + let newsElement = nopaque.Utils.HTMLToElement( `
@@ -222,7 +222,7 @@ function bisBlogsEntryToElement(entry) { let date = new Date(entry.published).toLocaleString('en-US'); - let newsElement = Utils.HTMLToElement( + let newsElement = nopaque.Utils.HTMLToElement( `