Fetch body is empty, see why.

This commit is contained in:
mmcwilliams 2017-11-22 11:33:20 -05:00
parent dd74ba7218
commit fdc0f41725
1 changed files with 2 additions and 1 deletions

View File

@ -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,