add cache buster on security check request

When doing a normal reload on the admin page to recheck the security,
the browser may not re-request the image again. This adds a timestamp to
the URL to ensure the image is tested again
This commit is contained in:
Andreas Gohr 2021-01-11 17:23:22 +01:00
parent d3f829c2e8
commit b68a7721c6
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ var dw_behaviour = {
$checkDiv.html(LANG.data_insecure);
$checkDiv.addClass('error');
}
img.src = $checkDiv.data('src');
img.src = $checkDiv.data('src') + '?t=' + Date.now();
}
};