Change the name of the image source to reload to bypass WKWebView caching.
This commit is contained in:
parent
a06a10e661
commit
e7a2dfefdd
|
@ -113,7 +113,7 @@ function flattenPreElements() {
|
||||||
|
|
||||||
function reloadArticleImage(imageSrc) {
|
function reloadArticleImage(imageSrc) {
|
||||||
var image = document.getElementById("nnwImageIcon");
|
var image = document.getElementById("nnwImageIcon");
|
||||||
image.src = imageSrc;
|
image.src = imageSrc + "?" + new Date().getTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
function stopMediaPlayback() {
|
function stopMediaPlayback() {
|
||||||
|
|
Loading…
Reference in New Issue