mirror of
https://github.com/wah-su/wahs.wah.su.git
synced 2025-04-05 15:54:37 +00:00
Update title on Image change
This commit is contained in:
parent
79827c26cc
commit
fc48216d6f
1 changed files with 4 additions and 0 deletions
|
@ -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"]'
|
||||
|
|
Loading…
Add table
Reference in a new issue