浏览代码

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') {

正在加载...
取消
保存