Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
4bdfbb33
Commit
4bdfbb33
authored
Mar 06, 2023
by
pythongosssss
Browse files
Fixed check for polling
parent
a8315a6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
web/scripts/api.js
web/scripts/api.js
+1
-1
No files found.
web/scripts/api.js
View file @
4bdfbb33
...
...
@@ -39,7 +39,7 @@ class ComfyApi extends EventTarget {
this
.
socket
.
addEventListener
(
"
error
"
,
()
=>
{
if
(
this
.
socket
)
this
.
socket
.
close
();
if
(
!
opened
)
{
if
(
!
isReconnect
&&
!
opened
)
{
this
.
#
pollQueue
();
}
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment