Commit 73cc17c9 by Lee Munkyeong

インデント修正

parent 56f1d9e2
...@@ -24,16 +24,16 @@ $(window).on('resize', function() { ...@@ -24,16 +24,16 @@ $(window).on('resize', function() {
$(".chat_list").removeClass("col-6").addClass("col-12"); $(".chat_list").removeClass("col-6").addClass("col-12");
$(".squareBoxContent span").removeClass("landscape_span"); $(".squareBoxContent span").removeClass("landscape_span");
$(".mesgs").removeClass("landscape_mesgs"); $(".mesgs").removeClass("landscape_mesgs");
}*/ }*/
if (CHAT_UTIL.isIOS()) { if (CHAT_UTIL.isIOS()) {
if (isLandscape == true) { if (isLandscape == true) {
$(".mesgs").addClass("landscape_mesgs"); $(".mesgs").addClass("landscape_mesgs");
} else if (isLandscape == false) { } else if (isLandscape == false) {
$(".mesgs").removeClass("landscape_mesgs"); $(".mesgs").removeClass("landscape_mesgs");
} }
} }
}) })
// New Room // New Room
...@@ -1049,14 +1049,14 @@ CHAT_UI.refreshRoomList = function(roomType) { ...@@ -1049,14 +1049,14 @@ CHAT_UI.refreshRoomList = function(roomType) {
// 検索結果がない場合のメッセージを追加 // 検索結果がない場合のメッセージを追加
let emptyListString = getLocalizedString("roomListEmptyString") let emptyListString = getLocalizedString("roomListEmptyString")
switch(roomType) { switch(roomType) {
case chatRoomType.GROUP: case chatRoomType.GROUP:
$('#groupChatList').append(`<center class="text-secondary">${emptyListString}</center>`); $('#groupChatList').append(`<center class="text-secondary">${emptyListString}</center>`);
break; break;
case chatRoomType.DM: case chatRoomType.DM:
$('#dmChatList').append(`<center class="text-secondary">${emptyListString}</center>`); $('#dmChatList').append(`<center class="text-secondary">${emptyListString}</center>`);
break; break;
default: default:
} }
} }
var template; var template;
...@@ -1104,14 +1104,14 @@ CHAT_UI.refreshRoomList = function(roomType) { ...@@ -1104,14 +1104,14 @@ CHAT_UI.refreshRoomList = function(roomType) {
}); });
// ルームグループごとに追加。 // ルームグループごとに追加。
switch(roomType) { switch(roomType) {
case chatRoomType.GROUP: case chatRoomType.GROUP:
$('#groupChatList').append(obj); $('#groupChatList').append(obj);
break; break;
case chatRoomType.DM: case chatRoomType.DM:
$('#dmChatList').append(obj); $('#dmChatList').append(obj);
break; break;
default: default:
} }
}); });
if (CHAT_UI.isLandscapeMode()) { if (CHAT_UI.isLandscapeMode()) {
...@@ -1561,7 +1561,7 @@ CHAT_UI.refreshArchiveScreen = function() { ...@@ -1561,7 +1561,7 @@ CHAT_UI.refreshArchiveScreen = function() {
CHAT_UI.dismissLoadingIndicator(); CHAT_UI.dismissLoadingIndicator();
return; return;
} }
archiveList.forEach(function(archive) { carchiveList.forEach(function(archive) {
var typeImage = ""; var typeImage = "";
switch(archive.archiveType) { switch(archive.archiveType) {
case 0: // 画像 case 0: // 画像
...@@ -1617,14 +1617,14 @@ CHAT_UI.refreshArchiveDetailScreen = function(archiveId) { ...@@ -1617,14 +1617,14 @@ CHAT_UI.refreshArchiveDetailScreen = function(archiveId) {
var roomId = archive.roomId; var roomId = archive.roomId;
var roomInfo = CHAT_DB.getChatRoomInfo(roomId); var roomInfo = CHAT_DB.getChatRoomInfo(roomId);
// アーカイブ情報を表示 // アーカイブ情報を表示
// let html = Mustache.render(archiveDetailTemplate, { // let html = Mustache.render(archiveDetailTemplate, {
// fileName: archive.archiveName, // fileName: archive.archiveName,
// insertDate: archive.archiveDate, // insertDate: archive.archiveDate,
// chatRoomName: roomInfo.chatRoomName, // chatRoomName: roomInfo.chatRoomName,
// profileImage: "", // profileImage: "",
// userName: userName // userName: userName
// }); // });
// アーカイブ情報を表示 // アーカイブ情報を表示
var html = Mustache.render(archiveDetailTemplate, { var html = Mustache.render(archiveDetailTemplate, {
...@@ -1699,12 +1699,12 @@ CHAT_UI.refreshArchiveDetailScreen = function(archiveId) { ...@@ -1699,12 +1699,12 @@ 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);
// $('#pills-chat-tab').tab('show'); // $('#pills-chat-tab').tab('show');
// }); // });
console.log("遷移"); console.log("遷移");
} }
......
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