소스 검색

Merge pull request #771 from jitsi/IE10-URL-fix

Fix broken invite URL on IE10
j8
bgrozev 8 년 전
부모
커밋
71a778b65c
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3
    2
      modules/UI/UI.js

+ 3
- 2
modules/UI/UI.js 파일 보기

@@ -282,8 +282,9 @@ UI.initConference = function () {
282 282
     let id = APP.conference.getMyUserId();
283 283
 
284 284
     // Do not include query parameters in the invite URL
285
-    // "https://example.com" + "/SomeConference1245"
286
-    var inviteURL = window.location.origin + window.location.pathname;
285
+    // "https:" + "//" + "example.com:8888" + "/SomeConference1245"
286
+    var inviteURL = window.location.protocol + "//" +
287
+        window.location.host + window.location.pathname;
287 288
     Toolbar.updateRoomUrl(inviteURL);
288 289
     // Clean up the URL displayed by the browser
289 290
     if (window.history && typeof window.history.replaceState === 'function') {

Loading…
취소
저장