Skip to content

Commit

Permalink
Correctly complete install of "new user script".
Browse files Browse the repository at this point in the history
Fixes #2994
  • Loading branch information
arantius committed Sep 7, 2018
1 parent 991981f commit d95d58f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/browser/monkey-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,8 @@ function newUserScript() {
= new UserScriptDownloader().setScriptContent(scriptSource);
downloader.start()
.then(() => {
downloader.install('install', /*disabled=*/false, /*openEditor=*/true);
return downloader.install(
'install', /*disabled=*/false, /*openEditor=*/true);
})
.then(window.close);
}
Expand Down

1 comment on commit d95d58f

@Geezuscryst
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GoodJob. Does this script still work?

Please sign in to comment.