map inverted behaviour of checkbox

This commit is contained in:
Clemens Lieb 2018-04-20 10:56:26 +02:00 committed by GitHub
parent 8ac8f45ce7
commit b8537fbf81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
console.log("Current: " + currentFlags);
setInterval(function () {
var url = `https://{host}/admin/dashboard?filtered={document.getElementById("chk-apply-filters").checked}`;
var url = `https://{host}/admin/dashboard?filtered={!document.getElementById("chk-apply-filters").checked}`;
console.log("Calling: " + url);
$.get(url, function (data) {
var updatedTitle = $("<html/>").html(data).find("title").text();