Update admin-flag-notifier.user.js

This commit is contained in:
Glorfindel83 2018-04-20 20:51:58 +02:00 committed by GitHub
parent b8537fbf81
commit f43fe72d05
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();