Commit e3a2e3bd by Lee Munkyeong

アンドロイド対応

parent 50a655d1
...@@ -137,7 +137,7 @@ document.addEventListener("DOMContentLoaded", function () { ...@@ -137,7 +137,7 @@ document.addEventListener("DOMContentLoaded", function () {
} else if (CHAT_UTIL.isAndroid()) { } else if (CHAT_UTIL.isAndroid()) {
android.exitMeetingRoom(); android.exitMeetingRoom();
android.finishPip(); android.finishPip();
mChatWebView.loadUrl("javascript:$('.pip_indicator').addClass('none');"); $(".pip_indicator").addClass("none");
} }
await new Promise(done => setTimeout(() => done(), 500)); await new Promise(done => setTimeout(() => done(), 500));
updateCanvasSize(); updateCanvasSize();
...@@ -239,7 +239,7 @@ document.addEventListener("DOMContentLoaded", function () { ...@@ -239,7 +239,7 @@ document.addEventListener("DOMContentLoaded", function () {
if (data.payload.loginId == globalUserInfo.loginId && joinCollaborationType == COLLABORATION_TYPE.DOCUMENT) { if (data.payload.loginId == globalUserInfo.loginId && joinCollaborationType == COLLABORATION_TYPE.DOCUMENT) {
if (CHAT_UTIL.isAndroid()) { if (CHAT_UTIL.isAndroid()) {
android.finishPip(); android.finishPip();
mChatWebView.loadUrl("javascript:$('.pip_indicator').addClass('none');"); $(".pip_indicator").addClass("none");
} else { } else {
webkit.messageHandlers.finishPipMode.postMessage({}); webkit.messageHandlers.finishPipMode.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