fix(device_selection_popup): URL
This commit is contained in:
parent
a5cd118550
commit
893d08d614
|
@ -79,8 +79,9 @@ function _openDeviceSelectionDialogInPopup() {
|
||||||
|
|
||||||
// API_ID will always be defined because the iframe api is enabled
|
// API_ID will always be defined because the iframe api is enabled
|
||||||
const scope = `dialog_${API_ID}`;
|
const scope = `dialog_${API_ID}`;
|
||||||
const url = `static/deviceSelectionPopup.html#scope=${
|
const url = `${
|
||||||
encodeURIComponent(JSON.stringify(scope))}`;
|
window.location.origin}/static/deviceSelectionPopup.html#scope=${
|
||||||
|
encodeURIComponent(JSON.stringify(scope))}`;
|
||||||
const popup
|
const popup
|
||||||
= window.open(
|
= window.open(
|
||||||
url,
|
url,
|
||||||
|
|
Loading…
Reference in New Issue