mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-02-16 18:32:25 +01:00
Remove click event for preview image expansion, since it breaks Rabbit Hole
This commit is contained in:
parent
a0f2097b1b
commit
3507f91090
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user