mirror of
https://github.com/OliveTin/OliveTin
synced 2025-12-12 00:55:34 +00:00
bugfix: console.log made it into a commit
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user