Index: chrome/browser/resources/print_preview/settings/advanced_settings/advanced_settings_item.js |
diff --git a/chrome/browser/resources/print_preview/settings/advanced_settings/advanced_settings_item.js b/chrome/browser/resources/print_preview/settings/advanced_settings/advanced_settings_item.js |
index 3d5438010fe07b04160bde1dfcfa4963049b6033..b8ae300e5e64bb44beccecf0996e5d8bf3e23b52 100644 |
--- a/chrome/browser/resources/print_preview/settings/advanced_settings/advanced_settings_item.js |
+++ b/chrome/browser/resources/print_preview/settings/advanced_settings/advanced_settings_item.js |
@@ -151,10 +151,11 @@ cr.define('print_preview', function() { |
if (this.query_) { |
var optionMatches = (this.selectedValue_ || '').match(this.query_); |
// Even if there's no match anymore, keep the item visible to do not |
- // surprise user. |
- if (optionMatches) |
- this.showSearchBubble_(optionMatches[0]); |
- else |
+ // surprise user. Even if there's a match, do not show the bubble, user |
+ // is already aware that this option is visible and matches the search. |
+ // Showing the bubble will only create a distraction by moving UI |
+ // elements around. |
+ if (!optionMatches) |
this.hideSearchBubble_(); |
} |
}, |