mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 18:34:18 +00:00
Optical code adjustments
This commit is contained in:
parent
236d3e7ee4
commit
f96bac93f2
@ -164,6 +164,12 @@ class ConcordanceQueryBuilder {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// ##########################################################################
|
||||
// #################### General Functions ###################################
|
||||
// ##########################################################################
|
||||
|
||||
//#region General Functions
|
||||
|
||||
closeQueryBuilderModal(closeInstance) {
|
||||
@ -373,7 +379,6 @@ class ConcordanceQueryBuilder {
|
||||
|
||||
this.elements.concordanceQueryBuilder.classList.add('modal-close');
|
||||
this.elements.extFormQuery.value = queryString;
|
||||
|
||||
}
|
||||
|
||||
clearAll() {
|
||||
@ -411,6 +416,13 @@ class ConcordanceQueryBuilder {
|
||||
|
||||
//#endregion General Functions
|
||||
|
||||
|
||||
|
||||
|
||||
// ##########################################################################
|
||||
// ############## Token Attribute Builder Functions #########################
|
||||
// ##########################################################################
|
||||
|
||||
//#region Token Attribute Builder Functions
|
||||
|
||||
//#region General functions of the Token Builder
|
||||
@ -473,10 +485,6 @@ class ConcordanceQueryBuilder {
|
||||
}
|
||||
|
||||
deleteTokenAttr(attr) {
|
||||
// let tokenQuery = this.elements.tokenQuery.childNodes;
|
||||
// console.log(tokenQuery);
|
||||
// console.log(this.elements.tokenQuery);
|
||||
console.log(this.elements.tokenQuery.childNodes.length);
|
||||
if (this.elements.tokenQuery.childNodes.length < 2) {
|
||||
this.elements.tokenQuery.removeChild(attr);
|
||||
this.wordBuilder();
|
||||
@ -859,6 +867,13 @@ class ConcordanceQueryBuilder {
|
||||
|
||||
//#endregion Token Attribute Builder Functions
|
||||
|
||||
|
||||
|
||||
|
||||
// ##########################################################################
|
||||
// ############ Structural Attribute Builder Functions ######################
|
||||
// ##########################################################################
|
||||
|
||||
//#region Structural Attribute Builder Functions
|
||||
addSentence() {
|
||||
this.hideEverything();
|
||||
|
Loading…
Reference in New Issue
Block a user