|
@@ -190,7 +190,7 @@ export function updateOperationOperator (operationHash, operatorHash, newValue)
|
|
else if (operator.operator.name === ';'
|
|
else if (operator.operator.name === ';'
|
|
&& (operation.operators.indexOf(operator) !== (operation.operators.length - 1))
|
|
&& (operation.operators.indexOf(operator) !== (operation.operators.length - 1))
|
|
&& operationTypeSelect.parentElement.nextElementSibling != null) {
|
|
&& operationTypeSelect.parentElement.nextElementSibling != null) {
|
|
- let indexOfOperator = operation.operators.indexOf(operator);
|
|
|
|
|
|
+ let indexOfOperator = operation.operators.indexOf(operator) + 1;
|
|
operation.operators.splice(indexOfOperator);
|
|
operation.operators.splice(indexOfOperator);
|
|
|
|
|
|
let elementSibling = operationTypeSelect.parentElement.nextElementSibling;
|
|
let elementSibling = operationTypeSelect.parentElement.nextElementSibling;
|