Przeglądaj źródła

bugfix: console.log made it into a commit

jamesread 3 lat temu
rodzic
commit
0911df0442
2 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 1
      webui/js/ActionButton.js
  2. 0 1
      webui/js/ArgumentForm.js

+ 0 - 1
webui/js/ActionButton.js

@@ -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) => {

+ 0 - 1
webui/js/ArgumentForm.js

@@ -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 {