mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-02-07 16:20:56 -08:00
Images history speed up
This commit is contained in:
parent
f62905fdf9
commit
a4de699e3c
2 changed files with 6 additions and 2 deletions
|
|
@ -108,6 +108,7 @@ function images_history_delete(del_num, tabname, image_index){
|
|||
});
|
||||
var img_num = buttons.length / 2;
|
||||
del_num = Math.min(img_num - image_index, del_num)
|
||||
console.log(del_num, img_num)
|
||||
if (img_num <= del_num){
|
||||
setTimeout(function(tabname){
|
||||
gradioApp().getElementById(tabname + '_images_history_renew_page').click();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue