Selaa lähdekoodia

fix(device_selection_popup): URL

master
hristoterezov 8 vuotta sitten
vanhempi
commit
893d08d614
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3
    2
      react/features/device-selection/actions.js

+ 3
- 2
react/features/device-selection/actions.js Näytä tiedosto

@@ -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,

Loading…
Peruuta
Tallenna