Commit 57334f9e by Takatoshi Miura

名前変更

parent 10cf7408
...@@ -232,7 +232,7 @@ $(function () { ...@@ -232,7 +232,7 @@ $(function () {
coview_api.addEventListener("start", function () { coview_api.addEventListener("start", function () {
console.log("=============> START : share start"); console.log("=============> START : share start");
screenLockON(); scrollLockON();
$("#loadingIndicator").removeClass("full_active"); $("#loadingIndicator").removeClass("full_active");
}); });
...@@ -485,7 +485,7 @@ function changeCollaboration(changeCollaborationType) { ...@@ -485,7 +485,7 @@ function changeCollaboration(changeCollaborationType) {
fw.sendToMsg('others', 'CHANGE_COLLABORATION', {"collaborationType": changeCollaborationType, "newMeetingId": newMeetingId}); fw.sendToMsg('others', 'CHANGE_COLLABORATION', {"collaborationType": changeCollaborationType, "newMeetingId": newMeetingId});
} }
var screenLock = function (e) { var scrollLock = function (e) {
if (CHAT_UTIL.isIOS()) { if (CHAT_UTIL.isIOS()) {
if ($(e.target).closest('.add_user_modal').length > 0 if ($(e.target).closest('.add_user_modal').length > 0
|| $(e.target).closest('#overlay_user_list').length > 0 || $(e.target).closest('#overlay_user_list').length > 0
...@@ -498,14 +498,14 @@ var screenLock = function (e) { ...@@ -498,14 +498,14 @@ var screenLock = function (e) {
} }
} }
let screen = document.getElementById('collabo_main'); let collaboScreen = document.getElementById('collabo_main');
function screenLockON() { function scrollLockON() {
screen.addEventListener('touchmove', screenLock, {passive: false}); collaboScreen.addEventListener('touchmove', scrollLock, {passive: false});
} }
function screenLockOFF() { function scrollLockOFF() {
screen.removeEventListener('touchmove', screenLock, {passive: false}); collaboScreen.removeEventListener('touchmove', scrollLock, {passive: false});
} }
function initCollaborationUI(changeCollaborationType){ function initCollaborationUI(changeCollaborationType){
...@@ -576,7 +576,7 @@ function initCollaborationUI(changeCollaborationType){ ...@@ -576,7 +576,7 @@ function initCollaborationUI(changeCollaborationType){
} }
function Coview_exitCollaboration(isDocument = false) { function Coview_exitCollaboration(isDocument = false) {
screenLockOFF(); scrollLockOFF();
if (isDocument) { if (isDocument) {
if (CHAT_UTIL.isIOS()) { if (CHAT_UTIL.isIOS()) {
webkit.messageHandlers.exitMeetingRoom.postMessage({}); webkit.messageHandlers.exitMeetingRoom.postMessage({});
......
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