mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44: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
|
//#region General Functions
|
||||||
|
|
||||||
closeQueryBuilderModal(closeInstance) {
|
closeQueryBuilderModal(closeInstance) {
|
||||||
@ -373,7 +379,6 @@ class ConcordanceQueryBuilder {
|
|||||||
|
|
||||||
this.elements.concordanceQueryBuilder.classList.add('modal-close');
|
this.elements.concordanceQueryBuilder.classList.add('modal-close');
|
||||||
this.elements.extFormQuery.value = queryString;
|
this.elements.extFormQuery.value = queryString;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
clearAll() {
|
clearAll() {
|
||||||
@ -411,6 +416,13 @@ class ConcordanceQueryBuilder {
|
|||||||
|
|
||||||
//#endregion General Functions
|
//#endregion General Functions
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// ##########################################################################
|
||||||
|
// ############## Token Attribute Builder Functions #########################
|
||||||
|
// ##########################################################################
|
||||||
|
|
||||||
//#region Token Attribute Builder Functions
|
//#region Token Attribute Builder Functions
|
||||||
|
|
||||||
//#region General functions of the Token Builder
|
//#region General functions of the Token Builder
|
||||||
@ -473,10 +485,6 @@ class ConcordanceQueryBuilder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
deleteTokenAttr(attr) {
|
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) {
|
if (this.elements.tokenQuery.childNodes.length < 2) {
|
||||||
this.elements.tokenQuery.removeChild(attr);
|
this.elements.tokenQuery.removeChild(attr);
|
||||||
this.wordBuilder();
|
this.wordBuilder();
|
||||||
@ -859,6 +867,13 @@ class ConcordanceQueryBuilder {
|
|||||||
|
|
||||||
//#endregion Token Attribute Builder Functions
|
//#endregion Token Attribute Builder Functions
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// ##########################################################################
|
||||||
|
// ############ Structural Attribute Builder Functions ######################
|
||||||
|
// ##########################################################################
|
||||||
|
|
||||||
//#region Structural Attribute Builder Functions
|
//#region Structural Attribute Builder Functions
|
||||||
addSentence() {
|
addSentence() {
|
||||||
this.hideEverything();
|
this.hideEverything();
|
||||||
|
Loading…
Reference in New Issue
Block a user