Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
55672bd2
Commit
55672bd2
authored
Nov 25, 2019
by
Jeong Gilmo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- チャット
最初にチャット接続後、ルームを生成ボタンが表示できないことを修正
parent
9855ece4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
ABVJE_Launcher_Android/assets/chat/public/js/chat.js
+8
-5
No files found.
ABVJE_Launcher_Android/assets/chat/public/js/chat.js
View file @
55672bd2
...
@@ -228,14 +228,17 @@ socket.on('refreshRoomList', function(rooms, activeRoomId = null){
...
@@ -228,14 +228,17 @@ socket.on('refreshRoomList', function(rooms, activeRoomId = null){
});
});
}
}
});
});
jQuery
(
'.roomListIcon'
).
show
()
jQuery
(
'#createChatRoom'
).
show
()
// チャットルームリストに追加する
// チャットルームリストに追加する
jQuery
(
'#room_list'
).
append
(
obj
);
jQuery
(
'#room_list'
).
append
(
obj
);
});
});
if
(
rooms
.
length
>
0
){
jQuery
(
'.roomListIcon'
).
show
()
}
else
{
jQuery
(
'.roomListIcon'
).
hide
()
}
jQuery
(
'#createChatRoom'
).
show
()
// Rotate
// Rotate
if
(
isLandscapeMode
())
{
if
(
isLandscapeMode
())
{
$
(
".chat_list"
).
removeClass
(
"col-12"
).
addClass
(
"col-6"
);
$
(
".chat_list"
).
removeClass
(
"col-12"
).
addClass
(
"col-6"
);
...
@@ -878,7 +881,7 @@ jQuery('a[data-toggle="pill"]').on('show.bs.tab', function (e) {
...
@@ -878,7 +881,7 @@ jQuery('a[data-toggle="pill"]').on('show.bs.tab', function (e) {
dismissLoadingIndicator
();
dismissLoadingIndicator
();
break
;
break
;
case
'#pills-chatlist'
:
case
'#pills-chatlist'
:
jQuery
(
'.
roomListIcon, .
titleRoomName, #backButton'
).
show
();
jQuery
(
'.titleRoomName, #backButton'
).
show
();
jQuery
(
'.chatRoomIcon, #backButton, #userSelectionConfirmBtn, #newRoomName, #userSelectionDeleteBtn'
).
hide
();
jQuery
(
'.chatRoomIcon, #backButton, #userSelectionConfirmBtn, #newRoomName, #userSelectionDeleteBtn'
).
hide
();
// set Title
// set Title
...
...
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