From 57a901c43b522b07e88485c3b2c6e3877d8916c1 Mon Sep 17 00:00:00 2001 From: Pyraqq <46277816+Pyraqq@users.noreply.github.com> Date: Sat, 30 Mar 2019 22:48:12 +0100 Subject: Change `var` to `const` (#11) --- webAO/client.js | 4 ++-- 1 file 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 +}); -- cgit