bugfix: console.log made it into a commit
This commit is contained in:
parent
86e5dfe2ee
commit
0911df0442
|
|
@ -18,7 +18,6 @@ class ActionButton extends window.HTMLElement {
|
||||||
this.setAttribute('role', 'none')
|
this.setAttribute('role', 'none')
|
||||||
this.btn.title = json.title
|
this.btn.title = json.title
|
||||||
this.btn.onclick = () => {
|
this.btn.onclick = () => {
|
||||||
console.log(json.arguments)
|
|
||||||
if (json.arguments.length > 0) {
|
if (json.arguments.length > 0) {
|
||||||
const frm = document.createElement('argument-form')
|
const frm = document.createElement('argument-form')
|
||||||
frm.setup(json, (args) => {
|
frm.setup(json, (args) => {
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,6 @@ class ArgumentForm extends window.HTMLElement {
|
||||||
throw new Error(res.statusText)
|
throw new Error(res.statusText)
|
||||||
}
|
}
|
||||||
}).then((json) => {
|
}).then((json) => {
|
||||||
console.log(json.valid)
|
|
||||||
if (json.valid) {
|
if (json.valid) {
|
||||||
domEl.setCustomValidity('')
|
domEl.setCustomValidity('')
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue