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
7e1ac9b3
Commit
7e1ac9b3
authored
Oct 11, 2024
by
minseok.park
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test online status
parent
8df438ea
Pipeline
#21366
passed with stages
in 3 minutes and 52 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
08-chat.js
src/js/08-chat.js
+1
-0
No files found.
src/js/08-chat.js
View file @
7e1ac9b3
...
@@ -61,6 +61,7 @@
...
@@ -61,6 +61,7 @@
// 네트워크 상태 확인 및 버튼 제어
// 네트워크 상태 확인 및 버튼 제어
function
toggleChatButton
()
{
function
toggleChatButton
()
{
console
.
log
(
navigator
.
onLine
)
if
(
!
navigator
.
onLine
)
{
if
(
!
navigator
.
onLine
)
{
chatButton
.
style
.
display
=
'none'
// 오프라인 상태면 chatButton 숨김
chatButton
.
style
.
display
=
'none'
// 오프라인 상태면 chatButton 숨김
}
else
{
}
else
{
...
...
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