Push dev work to master #2

Merged
sixteenmillimeter merged 416 commits from dev into master 2018-07-19 15:29:02 +00:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit fe492eca6f - Show all commits

View File

@ -558,11 +558,10 @@
const counter = document.getElementById('counter').value;
const change = prompt(`Change counter value?`, counter);
if (change === null || !isNumeric(change)) return false;
console.log(change);
const opts = {
method : 'POST',
headers : web._header,
data : JSON.stringify({ counter : change })
body : JSON.stringify({ counter : change })
}
fetch('/counter', opts)
.then(web.useJson)