From fdc0f417257fa66c9e4972f0f7ec8cde677acb82 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Wed, 22 Nov 2017 11:33:20 -0500 Subject: [PATCH] Fetch body is empty, see why. --- app/www/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/www/index.html b/app/www/index.html index 704024f..5081de7 100644 --- a/app/www/index.html +++ b/app/www/index.html @@ -557,7 +557,8 @@ web.setCounter = function () { const counter = document.getElementById('counter').value; const change = prompt(`Change counter value?`, counter); - if (change === null || !isNumeric(change)) return false + if (change === null || !isNumeric(change)) return false; + console.log(change); const opts = { method : 'POST', headers : web._header,