Commit f4a505f0 by Lee Munkyeong

チャット画面UI

parent bb64ab0d
...@@ -338,7 +338,6 @@ ...@@ -338,7 +338,6 @@
<a href="chat.html"> <a href="chat.html">
<img src="icon/icon_chat_gray.png" alt="チャット"> <img src="icon/icon_chat_gray.png" alt="チャット">
<p>チャット</p> <p>チャット</p>
<span class="unread_num">999+</span>
</a> </a>
</div> </div>
<div class="footer_item"> <div class="footer_item">
......
...@@ -85,7 +85,6 @@ ...@@ -85,7 +85,6 @@
<a href="chat.html"> <a href="chat.html">
<img src="icon/icon_chat.png" alt="チャット"> <img src="icon/icon_chat.png" alt="チャット">
<p class="active">チャット</p> <p class="active">チャット</p>
<span class="unread_num">999+</span>
</a> </a>
</div> </div>
<div class="footer_item"> <div class="footer_item">
......
...@@ -179,7 +179,6 @@ ...@@ -179,7 +179,6 @@
<a href="chat.html"> <a href="chat.html">
<img src="icon/icon_chat_gray.png" alt="チャット"> <img src="icon/icon_chat_gray.png" alt="チャット">
<p>チャット</p> <p>チャット</p>
<span class="unread_num">999+</span>
</a> </a>
</div> </div>
<div class="footer_item"> <div class="footer_item">
......
...@@ -1080,7 +1080,6 @@ CHAT_UI.refreshRoomList = function(roomType) { ...@@ -1080,7 +1080,6 @@ CHAT_UI.refreshRoomList = function(roomType) {
CHAT_UI.joinRoom(roomId,roomName);*/ CHAT_UI.joinRoom(roomId,roomName);*/
//TODO ルームに入る処理追加必要 //TODO ルームに入る処理追加必要
}); });
console.log(obj);
// ルームグループごとに追加。 // ルームグループごとに追加。
switch(roomType) { switch(roomType) {
case chatRoomType.GROUP: case chatRoomType.GROUP:
...@@ -1088,7 +1087,6 @@ CHAT_UI.refreshRoomList = function(roomType) { ...@@ -1088,7 +1087,6 @@ CHAT_UI.refreshRoomList = function(roomType) {
$('#groupChatList').append(obj); $('#groupChatList').append(obj);
break; break;
case chatRoomType.DM: case chatRoomType.DM:
console.log(roomType);
$('#dmChatList').append(obj); $('#dmChatList').append(obj);
break; break;
default: default:
...@@ -1109,7 +1107,6 @@ CHAT_UI.joinRoom = function(roomId,roomName) { ...@@ -1109,7 +1107,6 @@ CHAT_UI.joinRoom = function(roomId,roomName) {
} }
var messages = CHAT_DB.getMessages(roomId); var messages = CHAT_DB.getMessages(roomId);
CHAT_UI.loadMessages(messages, roomId, roomName) CHAT_UI.loadMessages(messages, roomId, roomName)
}; };
CHAT_UI.loadMessages = function(messages, roomId, roomName) { CHAT_UI.loadMessages = function(messages, roomId, roomName) {
......
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