diff options
Diffstat (limited to 'src/app/main.js')
-rw-r--r-- | src/app/main.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/main.js b/src/app/main.js index 169f86f..7c71c9d 100644 --- a/src/app/main.js +++ b/src/app/main.js @@ -78,6 +78,8 @@ function setButtons(state) { disablearray(document.querySelectorAll("#browser #browserEntries .text button")) } +ipcRenderer.on("setbuttons", (event, state) => {setButtons(state)}) + // Frontend part of updating Northstar ipcRenderer.on("ns-update-event", (event, key) => { document.getElementById("update").innerText = `(${lang(key)})`; |