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
739c1a75
Commit
739c1a75
authored
Mar 18, 2023
by
comfyanonymous
Browse files
Fix annoyance.
parent
27693b3e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
web/scripts/widgets.js
web/scripts/widgets.js
+1
-1
No files found.
web/scripts/widgets.js
View file @
739c1a75
...
@@ -56,7 +56,7 @@ function addMultilineWidget(node, name, defaultVal, app) {
...
@@ -56,7 +56,7 @@ function addMultilineWidget(node, name, defaultVal, app) {
widget
.
inputEl
=
document
.
createElement
(
"
textarea
"
);
widget
.
inputEl
=
document
.
createElement
(
"
textarea
"
);
widget
.
inputEl
.
className
=
"
comfy-multiline-input
"
;
widget
.
inputEl
.
className
=
"
comfy-multiline-input
"
;
widget
.
inputEl
.
value
=
defaultVal
;
widget
.
inputEl
.
value
=
defaultVal
;
document
.
addEventListener
(
"
click
"
,
function
(
event
)
{
document
.
addEventListener
(
"
mousedown
"
,
function
(
event
)
{
if
(
!
widget
.
inputEl
.
contains
(
event
.
target
))
{
if
(
!
widget
.
inputEl
.
contains
(
event
.
target
))
{
widget
.
inputEl
.
blur
();
widget
.
inputEl
.
blur
();
}
}
...
...
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