Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Fix #3029, about:home is not treated like about:newtab (#3088)
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanwaelvelde authored and jaredhirsch committed Jul 6, 2017
1 parent 4cfc531 commit 4633694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/webextension/background/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ this.main = (function() {
}

function shouldOpenMyShots(url) {
return /^about:(?:newtab|blank)/i.test(url) || /^resource:\/\/activity-streams\//i.test(url);
return /^about:(?:newtab|blank|home)/i.test(url) || /^resource:\/\/activity-streams\//i.test(url);
}

// This is called by startBackground.js, directly in response to browser.browserAction.onClicked
Expand Down

0 comments on commit 4633694

Please sign in to comment.