diff options
| author | Pyraqq <46277816+Pyraqq@users.noreply.github.com> | 2019-03-30 22:48:12 +0100 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2019-03-30 16:48:12 -0500 |
| commit | 57a901c43b522b07e88485c3b2c6e3877d8916c1 (patch) | |
| tree | 73d0ff1d982e52fd6cb1f6322f18acede778e69a /webAO/client.js | |
| parent | 435c66de963fb9453b9a9e7b08e7ace7eab918dd (diff) | |
Change `var` to `const` (#11)
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 4 |
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 +}); |
