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

Unified Diff: chrome/browser/resources/md_bookmarks/toolbar.js

Issue 2637023002: [MD Bookmarks] Add routing. (Closed)
Patch Set: Id is now in the queryParam not path. Store has correct field for back/forwards navigation. Created 3 years, 11 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/md_bookmarks/toolbar.js
diff --git a/chrome/browser/resources/md_bookmarks/toolbar.js b/chrome/browser/resources/md_bookmarks/toolbar.js
index bfce3d0d8f86bb4c8c9432a5d8be00d5d7cb5263..53f002b1be97266b99a0c2b896313ee45b403922 100644
--- a/chrome/browser/resources/md_bookmarks/toolbar.js
+++ b/chrome/browser/resources/md_bookmarks/toolbar.js
@@ -69,7 +69,6 @@ Polymer({
/** @private */
onSearchTermChanged_: function() {
- if (!this.searchTerm)
- this.searchField.setValue('');
+ this.searchField.setValue(this.searchTerm || '');
},
});

Powered by Google App Engine
This is Rietveld 408576698