Update title on Image change

This commit is contained in:
Kentai Radiquum 2025-02-02 23:22:27 +05:00
parent 79827c26cc
commit fc48216d6f
Signed by: Radiquum
GPG key ID: 858E8EE696525EED

View file

@ -65,6 +65,10 @@ async function _tmp_loadImage(iid) {
window.location.href = "/image/?id=0";
}
document.querySelector(
"title"
).textContent = `WAH-Collection/Image: ${images[iid]}`;
const image = images[iid];
const placeholder = document.querySelector(
'[data-type="placeholder__image"]'