This commit is contained in:
AUTOMATIC1111 2023-07-15 21:05:33 +03:00
parent e5d3ae2bf4
commit 5decbf184b

View File

@ -265,12 +265,12 @@ function extraNetworksRequestMetadata(event, extraPage, cardName) {
event.stopPropagation();
}
extraPageUserMetadataEditors = {}
var extraPageUserMetadataEditors = {};
function extraNetworksEditUserMetadata(event, tabname, extraPage, cardName) {
var id = tabname + '_' + extraPage + '_edit_user_metadata';
editor = extraPageUserMetadataEditors[id]
var editor = extraPageUserMetadataEditors[id];
if (!editor) {
editor = {};
editor.page = gradioApp().getElementById(id);