forked from rDrama/rDrama
minor fix for url for expanded image modal
parent
e6803f93e9
commit
5901f5a53f
|
@ -235,7 +235,8 @@ function expandDesktopImage(url) {
|
||||||
if (!url) url = e.target.src
|
if (!url) url = e.target.src
|
||||||
}
|
}
|
||||||
document.getElementById("desktop-expanded-image").src = url.replace("200w_d.webp", "giphy.webp");
|
document.getElementById("desktop-expanded-image").src = url.replace("200w_d.webp", "giphy.webp");
|
||||||
document.getElementById("desktop-expanded-image-wrap-link").href = url;
|
document.getElementById("desktop-expanded-image-wrap-link").href = url.replace("200w_d.webp", "giphy.webp");
|
||||||
|
|
||||||
bootstrap.Modal.getOrCreateInstance(document.getElementById('expandImageModal')).show();
|
bootstrap.Modal.getOrCreateInstance(document.getElementById('expandImageModal')).show();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue