Преглед изворни кода

fmt: ActionButton - single quote strings

jamesread пре 4 година
родитељ
комит
f09501278a
1 измењених фајлова са 1 додато и 1 уклоњено
  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)