Chromium Code Reviews| Index: chrome/browser/resources/settings/settings_ui/settings_ui.js |
| diff --git a/chrome/browser/resources/settings/settings_ui/settings_ui.js b/chrome/browser/resources/settings/settings_ui/settings_ui.js |
| index f963adaa2ab6d45e5fed845944a5a9269c47c1ba..c27a0baf305cfb4383ed57cd2c5e52908d947f8f 100644 |
| --- a/chrome/browser/resources/settings/settings_ui/settings_ui.js |
| +++ b/chrome/browser/resources/settings/settings_ui/settings_ui.js |
| @@ -33,11 +33,16 @@ Polymer({ |
| /** @private */ |
| onIronActivate_: function() { |
| - this.$.panel.closeDrawer(); |
| + this.$$('app-drawer').close(); |
| }, |
| /** @private */ |
| directionDelegateChanged_: function() { |
| - this.$.panel.rightDrawer = this.directionDelegate.isRtl(); |
| + this.$$('app-drawer').align = this.directionDelegate.isRtl() ? |
| + 'right' : 'left'; |
| + }, |
| + |
| + onMenuButtonTap_: function() { |
|
michaelpg
2016/06/20 19:43:59
opt nit: move up to group onEvent fns together
michaelpg
2016/06/20 19:43:59
private
dpapad
2016/06/20 20:27:31
Done.
|
| + this.$$('app-drawer').toggle(); |
| }, |
| }); |