|
@@ -15,7 +15,7 @@ onUiUpdate(function(){
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- const galleryPreviews = gradioApp().querySelectorAll('img.h-full.w-full.overflow-hidden');
|
|
|
|
|
|
+ const galleryPreviews = gradioApp().querySelectorAll('div[id^="tab_"][style*="display: block"] img.h-full.w-full.overflow-hidden');
|
|
|
|
|
|
if (galleryPreviews == null) return;
|
|
if (galleryPreviews == null) return;
|
|
|
|
|