fix refresh
This commit is contained in:
@@ -5,7 +5,8 @@ function refreshImage() {
|
|||||||
img.classList.add('loading');
|
img.classList.add('loading');
|
||||||
|
|
||||||
const timestamp = new Date().getTime();
|
const timestamp = new Date().getTime();
|
||||||
img.src = 'gradient.jxl?' + timestamp;
|
//img.src = 'gradient.jxl?' + timestamp;
|
||||||
|
img.src = './output/gradient.jxl';
|
||||||
|
|
||||||
img.onload = function() {
|
img.onload = function() {
|
||||||
img.classList.remove('loading');
|
img.classList.remove('loading');
|
||||||
|
|||||||
Reference in New Issue
Block a user