Commit ad5bcaf4 by Takatoshi Miura

コード レビュー修正

parent 65d67803
...@@ -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 {
......
...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment