Skip to content

Commit

Permalink
Default action on no results is to navigate to search page with the c…
Browse files Browse the repository at this point in the history
…urrent text as the query
  • Loading branch information
lackac committed Jun 30, 2011
1 parent b090802 commit 09d8e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/js/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,5 +157,5 @@ chrome.omnibox.onInputEntered.addListener(function(text) {
return navigate(getUrl(text));
}
}
navigate(getUrl(topResult || "search"));
navigate(getUrl(topResult || "search?q=" + text));
});

0 comments on commit 09d8e91

Please sign in to comment.