Commit 7f8ba1d9 by Takatoshi Miura

ABCOMM-665_add-user-button_協業でユーザー招待ボタンが表示されないバグを修正

parent a2b19785
......@@ -261,7 +261,7 @@ CHAT_DB.getBeforeRoomType = function() {
CHAT_DB.getRoomType = function() {
// Androidは実装不要
if (CHAT_UTIL.isIOS()) {
return callNativeApp("getRoomType", {});
return parseInt(callNativeApp("getRoomType", {}), 10);
}
};
......
......@@ -431,6 +431,12 @@ function initCollaborationUI(changeCollaborationType){
if ($('.menu_btn').hasClass("hide")) {
$(".menu_btn").click();
}
if (CHAT_UTIL.isIOS) {
roomType = CHAT_DB.getRoomType();
if (roomType == chatRoomType.DM) {
$('.add_user_btn').removeClass('none');
}
}
$("link[href='./css/collaboration_board.css']").remove();
penOff();
switch (changeCollaborationType) {
......
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