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
open-webui
Commits
7d159ca7
Commit
7d159ca7
authored
May 22, 2024
by
Timothy J. Baek
Browse files
fix: styling
parent
bfdf4f7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/lib/components/chat/Chat.svelte
src/lib/components/chat/Chat.svelte
+2
-0
No files found.
src/lib/components/chat/Chat.svelte
View file @
7d159ca7
...
@@ -165,6 +165,7 @@
...
@@ -165,6 +165,7 @@
if
($
page
.
url
.
searchParams
.
get
(
'q'
))
{
if
($
page
.
url
.
searchParams
.
get
(
'q'
))
{
prompt
=
$
page
.
url
.
searchParams
.
get
(
'q'
)
??
''
;
prompt
=
$
page
.
url
.
searchParams
.
get
(
'q'
)
??
''
;
if
(
prompt
)
{
if
(
prompt
)
{
await
tick
();
await
tick
();
submitPrompt
(
prompt
);
submitPrompt
(
prompt
);
...
@@ -318,6 +319,7 @@
...
@@ -318,6 +319,7 @@
//
Reset
chat
input
textarea
//
Reset
chat
input
textarea
prompt
=
''
;
prompt
=
''
;
document
.
getElementById
(
'chat-textarea'
).
style
.
height
=
''
;
files
=
[];
files
=
[];
//
Send
prompt
//
Send
prompt
...
...
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