mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
parent
9a8a5cb244
commit
63bf5c049c
1 changed files with 1 additions and 2 deletions
|
|
@ -62,13 +62,12 @@ function doEnabling()
|
|||
|
||||
function open()
|
||||
{
|
||||
Task.spawn(function() {
|
||||
getShortcutOrURIAndPostData(dialog.input.value).then(data => {
|
||||
let url;
|
||||
let postData = null;
|
||||
let mayInheritPrincipal = false;
|
||||
|
||||
if (browser) {
|
||||
let data = yield browser.getShortcutOrURIAndPostData(dialog.input.value);
|
||||
url = data.url;
|
||||
postData = data.postData;
|
||||
mayInheritPrincipal = data.mayInheritPrincipal;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue