mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-22 19:01:41 +02: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() {
|
imageElem.addEventListener('load', function() {
|
||||||
imageItemElem.querySelector('.img_bottom_label').innerText = `${this.naturalWidth} x ${this.naturalHeight}`
|
imageItemElem.querySelector('.img_bottom_label').innerText = `${this.naturalWidth} x ${this.naturalHeight}`
|
||||||
})
|
})
|
||||||
imageElem.addEventListener('click', function() {
|
|
||||||
imageModal(this.src)
|
|
||||||
})
|
|
||||||
|
|
||||||
const imageExpandBtn = imageItemElem.querySelector('.imgExpandBtn')
|
const imageExpandBtn = imageItemElem.querySelector('.imgExpandBtn')
|
||||||
imageExpandBtn.addEventListener('click', function() {
|
imageExpandBtn.addEventListener('click', function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user