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 e8d2d277ccedcdc6f8108d471098c07871ab73ec..dc0e2b8e707ea11a6dd3657108671648f664ccb4 100644 |
--- a/chrome/browser/resources/settings/languages_page/add_languages_dialog.js |
+++ b/chrome/browser/resources/settings/languages_page/add_languages_dialog.js |
@@ -9,6 +9,10 @@ |
Polymer({ |
is: 'settings-add-languages-dialog', |
+ behaviors: [ |
+ CrScrollableBehavior, |
+ ], |
+ |
properties: { |
/** @type {!LanguagesModel|undefined} */ |
languages: { |
@@ -22,7 +26,9 @@ Polymer({ |
/** @private {!Set<string>} */ |
languagesToAdd_: { |
type: Object, |
- value: function() { return new Set(); }, |
+ value: function() { |
+ return new Set(); |
+ }, |
}, |
/** @private */ |
@@ -78,11 +84,11 @@ Polymer({ |
* @private |
*/ |
getDisplayText_: function(language) { |
- var displayText = language.displayName; |
- // If the native name is different, add it. |
- if (language.displayName != language.nativeDisplayName) |
- displayText += ' - ' + language.nativeDisplayName; |
- return displayText; |
+ var displayText = language.displayName; |
+ // If the native name is different, add it. |
+ if (language.displayName != language.nativeDisplayName) |
+ displayText += ' - ' + language.nativeDisplayName; |
+ return displayText; |
}, |
/** |