diff options
Diffstat (limited to 'static/main.js')
-rw-r--r-- | static/main.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/static/main.js b/static/main.js index 8e8b87c..da6410f 100644 --- a/static/main.js +++ b/static/main.js @@ -13,4 +13,5 @@ async function post(url, data) { const text = await response.text(); alert(`Error Sending: ${response.statusText} ${text}`); } + return response.ok; } |