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

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

Issue 2690263002: MD Settings: add empty list message for spell-check edit page. (Closed)
Patch Set: use comparison instead of boolean conversion Created 3 years, 10 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/languages_page/languages_page.js
diff --git a/chrome/browser/resources/settings/languages_page/languages_page.js b/chrome/browser/resources/settings/languages_page/languages_page.js
index 5e3c1bb8843ae5d9e00750c9443d567fbb34a985..429e2e312232f95f82ed9273d21bb672dda4f57a 100644
--- a/chrome/browser/resources/settings/languages_page/languages_page.js
+++ b/chrome/browser/resources/settings/languages_page/languages_page.js
@@ -354,7 +354,6 @@ Polymer({
onEditDictionaryTap_: function() {
assert(!cr.isMac);
settings.navigateTo(settings.Route.EDIT_DICTIONARY);
- this.forceRenderList_('settings-edit-dictionary-page');
},
/**
@@ -460,16 +459,6 @@ Polymer({
},
/**
- * HACK(michaelpg): This is necessary to show the list when navigating to
- * the sub-page. Remove this function when PolymerElements/neon-animation#60
- * is fixed.
- * @param {string} tagName Name of the element containing the <iron-list>.
- */
- forceRenderList_: function(tagName) {
- this.$$(tagName).$$('iron-list').fire('iron-resize');
- },
-
- /**
* @param {!Event} e
* @private
*/

Powered by Google App Engine
This is Rietveld 408576698