Load full-sized image
This commit is contained in:
parent
3ec318af4c
commit
d7e581bbed
@ -100,7 +100,7 @@
|
|||||||
lbimg.style.height = '';
|
lbimg.style.height = '';
|
||||||
lbimg.style.width = '100%'
|
lbimg.style.width = '100%'
|
||||||
}
|
}
|
||||||
lbimg.src = allimages[idx].src;
|
lbimg.src = allimages[idx].attributes.getNamedItem('data-src').nodeValue;
|
||||||
imgCounter.innerText = "Image " + idx + " / " + imgcount;
|
imgCounter.innerText = "Image " + idx + " / " + imgcount;
|
||||||
timer = setTimeout(() => showImage(++idx), imageTime);
|
timer = setTimeout(() => showImage(++idx), imageTime);
|
||||||
}
|
}
|
||||||
@ -205,4 +205,4 @@
|
|||||||
}
|
}
|
||||||
return stopProp;
|
return stopProp;
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
Loading…
Reference in New Issue
Block a user