Commit fb36fabd by Lee Munkyeong

loadMessage修正

parent 840c43c7
...@@ -186,6 +186,7 @@ ...@@ -186,6 +186,7 @@
let IS_MOBILE = true; let IS_MOBILE = true;
let IS_ONLINE = false; let IS_ONLINE = false;
let androidVersion = 0; let androidVersion = 0;
let roomName;
$("#pictureModal").load("./modal_chat_picture.html"); $("#pictureModal").load("./modal_chat_picture.html");
$("#chatMenuModal").load("./modal_chat_menu.html"); $("#chatMenuModal").load("./modal_chat_menu.html");
$("#loadingArea").load("./loading.html"); $("#loadingArea").load("./loading.html");
......
...@@ -1031,7 +1031,8 @@ CHAT_UI.joinRoom = function (roomId, roomName) { ...@@ -1031,7 +1031,8 @@ CHAT_UI.joinRoom = function (roomId, roomName) {
} }
}; };
CHAT_UI.loadMessages = function (roomId, roomName) { CHAT_UI.loadMessages = function (roomId, joinRoomName) {
roomName = joinRoomName;
var now = new Date(); var now = new Date();
if (IS_ONLINE == "true") { if (IS_ONLINE == "true") {
CHAT_UI.refreshForOnline(); CHAT_UI.refreshForOnline();
......
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