Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SWLab UI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
SWD
SWLab UI
Commits
f717a1af
Commit
f717a1af
authored
4 months ago
by
minseok.park
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix lint
parent
82506ea1
Pipeline
#21684
passed with stages
in 4 minutes and 7 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
08-chat.js
src/js/08-chat.js
+1
-1
No files found.
src/js/08-chat.js
View file @
f717a1af
...
@@ -220,7 +220,7 @@
...
@@ -220,7 +220,7 @@
}
}
function
saveMessagesToStorage
(
type
,
text
)
{
function
saveMessagesToStorage
(
type
,
text
)
{
le
t
messages
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'messages'
))
||
[]
cons
t
messages
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'messages'
))
||
[]
messages
.
push
({
type
,
text
})
messages
.
push
({
type
,
text
})
sessionStorage
.
setItem
(
'messages'
,
JSON
.
stringify
(
messages
))
sessionStorage
.
setItem
(
'messages'
,
JSON
.
stringify
(
messages
))
}
}
...
...
This diff is collapsed.
Click to expand it.
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