diff options
Diffstat (limited to 'chrome/browser/resources')
-rw-r--r-- | chrome/browser/resources/options/font_settings.html | 2 | ||||
-rw-r--r-- | chrome/browser/resources/options/font_settings.js | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/chrome/browser/resources/options/font_settings.html b/chrome/browser/resources/options/font_settings.html index 398250a..3fa1ac9 100644 --- a/chrome/browser/resources/options/font_settings.html +++ b/chrome/browser/resources/options/font_settings.html @@ -59,7 +59,7 @@ <h3 i18n-content="fontSettingsEncoding"></h3> <div class="font-input-div"> <div> - <select id="font-encoding" class="font-input" dataType="string" + <select id="font-encoding" dataType="string" pref="intl.charset_default" metric="Options_ChangeFontEncoding" disabled></select> </div> diff --git a/chrome/browser/resources/options/font_settings.js b/chrome/browser/resources/options/font_settings.js index b295324..00a43e9 100644 --- a/chrome/browser/resources/options/font_settings.js +++ b/chrome/browser/resources/options/font_settings.js @@ -129,8 +129,12 @@ cr.define('options', function() { for (var i = 0; i < items.length; i++) { value = items[i][0]; text = items[i][1]; - selected = value == selectedValue; - element.appendChild(new Option(text, value, false, selected)); + if (text) { + selected = value == selectedValue; + element.appendChild(new Option(text, value, false, selected)); + } else { + element.appendChild(document.createElement('hr')); + } } // Enable if not a managed pref. |