mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 06:47:33 +00:00
Merge pull request #141 from harshadchavan/patch-1
fixed this pointer in the code
This commit is contained in:
@@ -783,7 +783,7 @@
|
||||
window.requestAnimationFrame(on_frame);
|
||||
if(that.onBeforeStep)
|
||||
that.onBeforeStep();
|
||||
that.runStep(1, !this.catch_errors);
|
||||
that.runStep(1, !that.catch_errors);
|
||||
if(that.onAfterStep)
|
||||
that.onAfterStep();
|
||||
}
|
||||
@@ -794,7 +794,7 @@
|
||||
//execute
|
||||
if(that.onBeforeStep)
|
||||
that.onBeforeStep();
|
||||
that.runStep(1, !this.catch_errors);
|
||||
that.runStep(1, !that.catch_errors);
|
||||
if(that.onAfterStep)
|
||||
that.onAfterStep();
|
||||
}, interval);
|
||||
|
||||
Reference in New Issue
Block a user