Explorar el Código

fmt: ActionButton - single quote strings

jamesread hace 4 años
padre
commit
f09501278a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      webui/js/ActionButton.js

+ 1 - 1
webui/js/ActionButton.js

@@ -15,7 +15,7 @@ class ActionButton extends window.HTMLElement {
     this.updateFromJson(json)
     this.updateFromJson(json)
 
 
     // DOM Attributes
     // DOM Attributes
-    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)
       console.log(json.arguments)