Commit cf1c8b9e by Lee Munkyeong

写真共有ボタンがホストのみ表示されるように変更

parent 1da67af8
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<button type="button" name="button" class="footer_menu_btn"></button> <button type="button" name="button" class="footer_menu_btn"></button>
<div class="footer_menu-wrap d-flex justify-content-around h-100"> <div class="footer_menu-wrap d-flex justify-content-around h-100">
<div class="d-flex align-items-center h-100"> <div class="d-flex align-items-center h-100">
<div class="footer_menu_item"> <div class="footer_menu_item photo_select_button">
<a href="#"> <a href="#">
<div class="img_wrap bg_blue" id="photo_open_place_holder"> <div class="img_wrap bg_blue" id="photo_open_place_holder">
<img src="icon/icon_collabo_picture.png" alt="写真"> <img src="icon/icon_collabo_picture.png" alt="写真">
......
...@@ -169,6 +169,7 @@ $(function () { ...@@ -169,6 +169,7 @@ $(function () {
isBoard = true; isBoard = true;
globalUserInfo.coWorkType = collaborationTypeKey.CAMERA; globalUserInfo.coWorkType = collaborationTypeKey.CAMERA;
} }
hostSearchInterval();
if (collaborationJoinFlg == "1") { if (collaborationJoinFlg == "1") {
coview_api.JoinRoom(globalUserInfo.roomId, globalUserInfo.coWorkType); coview_api.JoinRoom(globalUserInfo.roomId, globalUserInfo.coWorkType);
if (isDocument) { if (isDocument) {
...@@ -368,6 +369,11 @@ function hostSearchInterval() { ...@@ -368,6 +369,11 @@ function hostSearchInterval() {
} }
} }
} }
if (g_isMainMan) {
$(".photo_select_button").removeClass("none");
} else {
$(".photo_select_button").addClass("none");
}
} }
timeInterval = setInterval(hostSearch, 3000); timeInterval = setInterval(hostSearch, 3000);
} }
\ No newline at end of file
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