Explorar el Código

bugfix: Update icon on buttons (#288)

James Read hace 2 años
padre
commit
dfca712cb1
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      webui.dev/js/ActionButton.js

+ 2 - 0
webui.dev/js/ActionButton.js

@@ -71,6 +71,8 @@ class ActionButton extends ExecutionFeedbackButton {
     } else {
       this.unicodeIcon = unescape(json.icon)
     }
+
+    this.domIcon.innerHTML = this.unicodeIcon
   }
 
   onExecStatusChanged () {