Remove click event for preview image expansion, since it breaks Rabbit Hole

This commit is contained in:
cmdr2 2023-03-16 11:12:10 +05:30
parent a0f2097b1b
commit 3507f91090

View File

@ -318,9 +318,6 @@ function showImages(reqBody, res, outputContainer, livePreview) {
imageElem.addEventListener('load', function() {
imageItemElem.querySelector('.img_bottom_label').innerText = `${this.naturalWidth} x ${this.naturalHeight}`
})
imageElem.addEventListener('click', function() {
imageModal(this.src)
})
const imageExpandBtn = imageItemElem.querySelector('.imgExpandBtn')
imageExpandBtn.addEventListener('click', function() {