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 2 additions and 2 deletions
Showing only changes of commit 722d3701ac - Show all commits

View File

@ -408,7 +408,7 @@
}
};
web.setDir = function () {
var dir = document.getElementById('dir').checked;
var dir = !document.getElementById('dir').checked;
/*$.ajax({
method : 'POST',
url : '/dir',
@ -418,7 +418,7 @@
success : web.setDirSuccess
});*/
var opts = {
method : '/POST',
method : 'POST',
body : { dir : dir}
};
fetch('/dir', opts).then(web.setDirSuccess);