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

Unified Diff: ui/webui/resources/cr_elements/cr_search_field/cr_search_field.html

Issue 2182853002: MD WebUI: rework how clearing search works (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cherry-pick Created 4 years, 5 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: ui/webui/resources/cr_elements/cr_search_field/cr_search_field.html
diff --git a/ui/webui/resources/cr_elements/cr_search_field/cr_search_field.html b/ui/webui/resources/cr_elements/cr_search_field/cr_search_field.html
index bbf300218adaef3d726b5cf1f76da726fe579b76..9fa4f497d7bf3a35791ee395db6d72dd81f34635 100644
--- a/ui/webui/resources/cr_elements/cr_search_field/cr_search_field.html
+++ b/ui/webui/resources/cr_elements/cr_search_field/cr_search_field.html
@@ -16,9 +16,9 @@
no-label-float>
<input is="iron-input" id="searchInput" type="search"
placeholder="[[label]]" incremental>
- <paper-icon-button icon="cr:cancel" id="clearSearch"
- on-click="toggleShowingSearch_" title="[[clearLabel]]"
- hidden$="[[!showingSearch]]"></paper-icon-button>
+ <paper-icon-button icon="cr:cancel" on-tap="clearSearch_"
+ title="[[clearLabel]]" hidden$="[[!showingSearch]]">
+ </paper-icon-button>
</paper-input-container>
</template>
<link rel="import" type="css" href="cr_search_field.css">

Powered by Google App Engine
This is Rietveld 408576698