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:
parent
d3f829c2e8
commit
b68a7721c6
|
@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue