Chromium Code Reviews| Index: chrome/browser/resources/options2/browser_options.js |
| =================================================================== |
| --- chrome/browser/resources/options2/browser_options.js (revision 124536) |
| +++ chrome/browser/resources/options2/browser_options.js (working copy) |
| @@ -459,7 +459,7 @@ |
| * @private |
| */ |
| toggleAdvancedSettings_: function() { |
| - if ($('advanced-settings').style.height == '0px') |
| + if ($('advanced-settings').style.height == '') |
| this.showAdvancedSettings_(); |
| else |
| this.hideAdvancedSettings_(); |
| @@ -481,7 +481,7 @@ |
| * @private |
| */ |
| hideAdvancedSettings_: function() { |
| - $('advanced-settings').style.height = '0px'; |
| + $('advanced-settings').style.height = ''; |
| $('advanced-settings-expander').innerHTML = |
|
Evan Stade
2012/03/02 17:09:27
should this be textContent?
csilv
2012/03/02 19:29:41
Done.
|
| localStrings.getString('showAdvancedSettings'); |
| }, |