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

Unified Diff: chrome/browser/resources/settings/settings_main/settings_main.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/settings_main/settings_main.js
diff --git a/chrome/browser/resources/settings/settings_main/settings_main.js b/chrome/browser/resources/settings/settings_main/settings_main.js
index c28e1efe35ca10fcd9ff57bf7d1e603e6d34fdf8..a7c1e8d95346d34080e296d80ca891240b17dca0 100644
--- a/chrome/browser/resources/settings/settings_main/settings_main.js
+++ b/chrome/browser/resources/settings/settings_main/settings_main.js
@@ -270,7 +270,7 @@ Polymer({
this.toolbarSpinnerActive = false;
this.inSearchMode_ = !result.wasClearSearch;
this.showNoResultsFound_ =
- this.inSearchMode_ && result.didFindMatches;
+ this.inSearchMode_ && !result.didFindMatches;
dpapad 2017/05/27 00:18:10 The value of |result.didFindMatches| was wrong, bu
if (this.inSearchMode_) {
Polymer.IronA11yAnnouncer.requestAvailability();

Powered by Google App Engine
This is Rietveld 408576698