Skip to content

Commit

Permalink
Fixes #61 - Made sure the pop-up is closed after successfully filling…
Browse files Browse the repository at this point in the history
… in a password in Firefox/Android
  • Loading branch information
palant committed Feb 6, 2018
1 parent 191a84a commit 4e33eda
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/passwordRetrieval.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@ function fillIn(site, name, revision)
if (result)
reject(result);
else
{
resolve();

// Make sure that the popup is closed on Firefox Android,
// work-around for https://bugzil.la/1433604
browser.tabs.update({active: true});
}
});

browser.tabs.executeScript({
Expand Down

0 comments on commit 4e33eda

Please sign in to comment.