| Index: chrome/browser/resources/settings/languages_page/edit_dictionary_page.js
|
| diff --git a/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js b/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js
|
| index 162641be47e6a85d8fe0877cf8e19d1b917e6e2f..b276bf483fce906e43f5b345db7d3e6f8173ba80 100644
|
| --- a/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js
|
| +++ b/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js
|
| @@ -121,15 +121,8 @@ Polymer({
|
| var index = this.words_.indexOf(word);
|
| if (index == -1) {
|
| this.languageSettingsPrivate.addSpellcheckWord(word);
|
| - this.push('words_', word);
|
| - index = this.words_.length - 1;
|
| + this.unshift('words_', word);
|
| }
|
| -
|
| - // Scroll to the word (usually the bottom, or to the index if the word
|
| - // is already present).
|
| - this.async(function(){
|
| - this.root.querySelector('#list').scrollToIndex(index);
|
| - });
|
| },
|
|
|
| /**
|
|
|