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

Unified Diff: chrome/browser/resources/settings/languages_page/add_languages_dialog.js

Issue 2359353002: MD Settings: Polish for Languages main page (Closed)
Patch Set: dbeam feedback Created 4 years, 3 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
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | chrome/browser/resources/settings/languages_page/languages.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/languages_page/add_languages_dialog.js
diff --git a/chrome/browser/resources/settings/languages_page/add_languages_dialog.js b/chrome/browser/resources/settings/languages_page/add_languages_dialog.js
index 146744003f04ef9a38f39c6ccce32120fa0f772d..43457ca2e1fc70b736c2fdaaf1e4733845e9be1e 100644
--- a/chrome/browser/resources/settings/languages_page/add_languages_dialog.js
+++ b/chrome/browser/resources/settings/languages_page/add_languages_dialog.js
@@ -34,6 +34,10 @@ Polymer({
attached: function() {
this.$.dialog.showModal();
+ // Fire iron-resize after the list initially displays to prevent flickering.
+ setTimeout(function() {
+ this.$$('iron-list').fire('iron-resize');
+ }.bind(this));
},
/**
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | chrome/browser/resources/settings/languages_page/languages.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698