diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/common/client.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/common/client.js b/public/common/client.js index 2ce568f..b39642c 100644 --- a/public/common/client.js +++ b/public/common/client.js @@ -662,7 +662,7 @@ function action_button_with_argument(verb, noun, label) { if (!button) { button = document.createElement("button") button.id = id - button.textContent = label + button.innerHTML = label button.addEventListener("click", evt => send_action(verb, noun)) document.getElementById("actions").prepend(button) } @@ -681,7 +681,7 @@ function action_button_imp(action, label, callback) { if (!button) { button = document.createElement("button") button.id = id - button.textContent = label + button.innerHTML = label button.addEventListener("click", callback) document.getElementById("actions").prepend(button) } |