window object does weird things, rename root ID
when used with (window as any).app, it uses the element with id #app instead
This commit is contained in:
@@ -152,6 +152,9 @@ export default abstract class ComfyWidgetNode<T = any> extends ComfyGraphNode {
|
||||
}
|
||||
|
||||
private triggerChangeEvent(value: any) {
|
||||
if (this.changedEventName == null)
|
||||
return;
|
||||
|
||||
// console.debug("[Widget] trigger changed", this, value)
|
||||
this.trigger(this.changedEventName, value)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user