Commit ad5bcaf4 by Takatoshi Miura

コード レビュー修正

parent 65d67803
......@@ -775,7 +775,7 @@ a.article:hover {
.archive_data {
overflow-y: scroll;
clear:both;
clear: both;
}
.archive_img {
......
......@@ -483,12 +483,12 @@ $('a[data-toggle="pill"]').on('show.bs.tab', function (e) {
$('#bottomNav').show();
break;
case '#pills-archive':
$('#homeButton').show();
$("#backButton").hide();
$('.titleRoomName').show();
$('#archive_list').show();
$('#bottomNav').show();
case '#pills-archive':
$('#homeButton').show();
$("#backButton").hide();
$('.titleRoomName').show();
$('#archive_list').show();
$('#bottomNav').show();
break;
case '#pills-user':
......@@ -1282,7 +1282,7 @@ CHAT_UI.refreshArchiveScreen = function() {
archiveTypeCSS: css
});
let obj = $(jQuery.parseHTML(html)).on('click', function(){
let obj = $(jQuery.parseHTML(html)).on('click', function() {
// アーカイブ詳細画面へ遷移
$('#homeButton').hide();
$('.titleRoomName').show();
......@@ -1372,7 +1372,7 @@ CHAT_UI.refreshArchiveDetailScreen = function(archiveId) {
// チャットルームへのリンク付け
document.getElementById('joinChatRoom').onclick = function() {
socket.emit('joinRoom', roomId, roomInfo.chatRoomName, function (){
socket.emit('joinRoom', roomId, roomInfo.chatRoomName, function () {
$('#archive_detail').html('');
$('#messages').html('');
$('.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