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 229f8ae..c817016 100644 --- a/public/common/client.js +++ b/public/common/client.js @@ -704,7 +704,7 @@ function action_button(action, label) { } function confirm_action_button(action, label, message) { - action_button_imp(action, label, evt => confirm_action(message, action)) + action_button_imp(action, label, evt => confirm_send_action(message, action)) } function send_action(verb, noun) { @@ -728,7 +728,7 @@ function send_action(verb, noun) { return false } -function confirm_action(message, verb, noun) { +function confirm_send_action(verb, noun, message) { if (window.confirm(message)) send_action(verb, noun) } |