Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3009)

Unified Diff: chrome/browser/resources/settings/basic_page/basic_page.js

Issue 2905393002: MD Settings: URL encode text queries before adding them to the URL. (Closed)
Patch Set: Nit. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/basic_page/basic_page.js
diff --git a/chrome/browser/resources/settings/basic_page/basic_page.js b/chrome/browser/resources/settings/basic_page/basic_page.js
index 4dbc652525c9ec5af7622477447287ca144818ec..f8cc1d7da2cc4ccc240967d6be9b07412bffac6a 100644
--- a/chrome/browser/resources/settings/basic_page/basic_page.js
+++ b/chrome/browser/resources/settings/basic_page/basic_page.js
@@ -136,8 +136,8 @@ Polymer({
// Combine the SearchRequests results to a single SearchResult object.
return {
canceled: requests.some(function(r) { return r.canceled; }),
- didFindMatches: requests.every(function(r) {
- return !r.didFindMatches();
+ didFindMatches: requests.some(function(r) {
+ return r.didFindMatches();
}),
// All requests correspond to the same user query, so only need to check
// one of them.

Powered by Google App Engine
This is Rietveld 408576698