Просмотр исходного кода

fmt: ActionButton - single quote strings

jamesread 4 лет назад
Родитель
Сommit
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)
 
     // DOM Attributes
-    this.setAttribute("role", "none")
+    this.setAttribute('role', 'none')
     this.btn.title = json.title
     this.btn.onclick = () => {
       console.log(json.arguments)