diff options
Diffstat (limited to 'application')
-rw-r--r-- | application/palemoon/base/content/openLocation.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/application/palemoon/base/content/openLocation.js b/application/palemoon/base/content/openLocation.js index b00dbc571..80d542954 100644 --- a/application/palemoon/base/content/openLocation.js +++ b/application/palemoon/base/content/openLocation.js @@ -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; |