ソースを参照

fix(device_selection_popup): URL

master
hristoterezov 8年前
コミット
893d08d614
1個のファイルの変更3行の追加2行の削除
  1. 3
    2
      react/features/device-selection/actions.js

+ 3
- 2
react/features/device-selection/actions.js ファイルの表示

@@ -79,8 +79,9 @@ function _openDeviceSelectionDialogInPopup() {
79 79
 
80 80
         // API_ID will always be defined because the iframe api is enabled
81 81
         const scope = `dialog_${API_ID}`;
82
-        const url = `static/deviceSelectionPopup.html#scope=${
83
-            encodeURIComponent(JSON.stringify(scope))}`;
82
+        const url = `${
83
+            window.location.origin}/static/deviceSelectionPopup.html#scope=${
84
+                encodeURIComponent(JSON.stringify(scope))}`;
84 85
         const popup
85 86
             = window.open(
86 87
                 url,

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