aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPyraqq <46277816+Pyraqq@users.noreply.github.com>2019-03-30 22:48:12 +0100
committeroldmud0 <oldmud0@users.noreply.github.com>2019-03-30 16:48:12 -0500
commit57a901c43b522b07e88485c3b2c6e3877d8916c1 (patch)
tree73d0ff1d982e52fd6cb1f6322f18acede778e69a
parent435c66de963fb9453b9a9e7b08e7ace7eab918dd (diff)
Change `var` to `const` (#11)
-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
+});