add missing id property

This commit is contained in:
DepFA 2022-10-13 04:10:38 +01:00 committed by AUTOMATIC1111
parent 78592d404a
commit 490494320e

View File

@ -94,7 +94,7 @@ contextMenuInit = function(){
}
gradioApp().addEventListener("click", function(e) {
let source = e.composedPath()[0]
if(source.id && source.indexOf('check_progress')>-1){
if(source.id && source.id.indexOf('check_progress')>-1){
return
}