Skip to content

Commit

Permalink
Update background.js navigate to URL with ? token
Browse files Browse the repository at this point in the history
Previously NavigateToUrl would navigate to "https://developer.android.com/index.html#q=QUERY"
Seems the developer docs have changed to use "https://developer.android.com/index.html?q=QUERY"
  • Loading branch information
Paul Turner authored Feb 9, 2017
1 parent 913081b commit 863a13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ function onScriptsLoaded() {
if (text.match(/^https?\:/)) {
navigateToUrl(text);
} else {
navigateToUrl('https://developer.android.com/index.html#q=' +
navigateToUrl('https://developer.android.com/index.html?q=' +
encodeURIComponent(text));
}
});
Expand Down

0 comments on commit 863a13b

Please sign in to comment.