Merge pull request #5608 from Bwin4L/master

Make the generated image count in desktop notifications only count new gens in the currently active tab
master
AUTOMATIC1111 3 years ago committed by GitHub
commit ca16278188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;

Loading…
Cancel
Save