ソースを参照

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

読み込み中…
キャンセル
保存