aboutsummaryrefslogtreecommitdiff
path: root/webAO
diff options
context:
space:
mode:
Diffstat (limited to 'webAO')
-rw-r--r--webAO/client.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/webAO/client.js b/webAO/client.js
index 6a4843c..bef36f8 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -2125,7 +2125,7 @@ $(function () {
modal: true,
buttons: {
Sure: function () {
- var reason = prompt("Please enter the reason", "");
+ const reason = prompt("Please enter the reason", "");
client.sendZZ(reason);
$(this).dialog("close");
},
@@ -2134,4 +2134,4 @@ $(function () {
}
}
});
-}); \ No newline at end of file
+});