Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chat_webview
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
abookCommunication
chat_webview
Commits
ad5bcaf4
Commit
ad5bcaf4
authored
Mar 10, 2021
by
Takatoshi Miura
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
コード レビュー修正
parent
65d67803
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
public/css/chat.css
+1
-1
public/js/chat-ui.js
+8
-8
No files found.
public/css/chat.css
View file @
ad5bcaf4
...
@@ -775,7 +775,7 @@ a.article:hover {
...
@@ -775,7 +775,7 @@ a.article:hover {
.archive_data
{
.archive_data
{
overflow-y
:
scroll
;
overflow-y
:
scroll
;
clear
:
both
;
clear
:
both
;
}
}
.archive_img
{
.archive_img
{
...
...
public/js/chat-ui.js
View file @
ad5bcaf4
...
@@ -483,12 +483,12 @@ $('a[data-toggle="pill"]').on('show.bs.tab', function (e) {
...
@@ -483,12 +483,12 @@ $('a[data-toggle="pill"]').on('show.bs.tab', function (e) {
$
(
'#bottomNav'
).
show
();
$
(
'#bottomNav'
).
show
();
break
;
break
;
case
'#pills-archive'
:
case
'#pills-archive'
:
$
(
'#homeButton'
).
show
();
$
(
'#homeButton'
).
show
();
$
(
"#backButton"
).
hide
();
$
(
"#backButton"
).
hide
();
$
(
'.titleRoomName'
).
show
();
$
(
'.titleRoomName'
).
show
();
$
(
'#archive_list'
).
show
();
$
(
'#archive_list'
).
show
();
$
(
'#bottomNav'
).
show
();
$
(
'#bottomNav'
).
show
();
break
;
break
;
case
'#pills-user'
:
case
'#pills-user'
:
...
@@ -1282,7 +1282,7 @@ CHAT_UI.refreshArchiveScreen = function() {
...
@@ -1282,7 +1282,7 @@ CHAT_UI.refreshArchiveScreen = function() {
archiveTypeCSS
:
css
archiveTypeCSS
:
css
});
});
let
obj
=
$
(
jQuery
.
parseHTML
(
html
)).
on
(
'click'
,
function
(){
let
obj
=
$
(
jQuery
.
parseHTML
(
html
)).
on
(
'click'
,
function
()
{
// アーカイブ詳細画面へ遷移
// アーカイブ詳細画面へ遷移
$
(
'#homeButton'
).
hide
();
$
(
'#homeButton'
).
hide
();
$
(
'.titleRoomName'
).
show
();
$
(
'.titleRoomName'
).
show
();
...
@@ -1372,7 +1372,7 @@ CHAT_UI.refreshArchiveDetailScreen = function(archiveId) {
...
@@ -1372,7 +1372,7 @@ CHAT_UI.refreshArchiveDetailScreen = function(archiveId) {
// チャットルームへのリンク付け
// チャットルームへのリンク付け
document
.
getElementById
(
'joinChatRoom'
).
onclick
=
function
()
{
document
.
getElementById
(
'joinChatRoom'
).
onclick
=
function
()
{
socket
.
emit
(
'joinRoom'
,
roomId
,
roomInfo
.
chatRoomName
,
function
(){
socket
.
emit
(
'joinRoom'
,
roomId
,
roomInfo
.
chatRoomName
,
function
()
{
$
(
'#archive_detail'
).
html
(
''
);
$
(
'#archive_detail'
).
html
(
''
);
$
(
'#messages'
).
html
(
''
);
$
(
'#messages'
).
html
(
''
);
$
(
'.titleRoomName'
).
text
(
roomInfo
.
chatRoomName
).
data
(
'roomName'
,
roomInfo
.
chatRoomName
);
$
(
'.titleRoomName'
).
text
(
roomInfo
.
chatRoomName
).
data
(
'roomName'
,
roomInfo
.
chatRoomName
);
...
...
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