removed extra check

This commit is contained in:
dcore94 2023-06-15 10:36:25 +02:00
parent 7f63a6f321
commit b1a83a8289
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@ class CCPExecutionForm extends HTMLElement{
} }
attributeChangedCallback(name, oldValue, newValue) { attributeChangedCallback(name, oldValue, newValue) {
if((oldValue != newValue) && (name === "method")){ //if((oldValue != newValue) && (name === "method")){
if(name === "method"){
this.#method = newValue this.#method = newValue
this.loadMethod() this.loadMethod()
} }