prevent highlighting/selecting image
This commit is contained in:
parent
ab3f997c0c
commit
43cb1ddad2
1 changed files with 1 additions and 0 deletions
|
@ -116,6 +116,7 @@ function showGalleryImage() {
|
|||
e.dataset.modded = true;
|
||||
if(e && e.parentElement.tagName == 'DIV'){
|
||||
e.style.cursor='pointer'
|
||||
e.style.userSelect='none'
|
||||
e.addEventListener('click', function (evt) {
|
||||
if(!opts.js_modal_lightbox) return;
|
||||
modalZoomSet(gradioApp().getElementById('modalImage'), opts.js_modal_lightbox_initially_zoomed)
|
||||
|
|
Loading…
Reference in a new issue