Sfoglia il codice sorgente

bugfix: Update icon on buttons (#288)

James Read 2 anni fa
parent
commit
dfca712cb1
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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 () {