mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 10:54:18 +00:00
Fix old Utils references in js
This commit is contained in:
parent
bf8b22fb58
commit
df33c7b36d
@ -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;
|
||||
}
|
||||
|
@ -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(
|
||||
`
|
||||
<div class="row">
|
||||
<div class="col s11">
|
||||
@ -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(
|
||||
`
|
||||
<div class="row">
|
||||
<div class="col s1">
|
||||
|
Loading…
Reference in New Issue
Block a user