fix for last commit, #34, #35

pull/47/head
AlUlkesh 2023-02-13 21:51:25 +01:00
parent 962c67a773
commit c8efd351af
1 changed files with 4 additions and 2 deletions

View File

@ -72,11 +72,13 @@ function image_browser_set_image_info(button){
}
function image_browser_get_current_img(tabname, img_index, page_index){
function image_browser_get_current_img(tabname, img_index, page_index, filenames, turn_page_switch){
return [
tabname,
gradioApp().getElementById(tabname + '_image_browser_set_index').getAttribute("img_index"),
page_index
page_index,
filenames,
turn_page_switch
];
}