| 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 1249bb8a09fec52e321ae930588376825bb06783..f963adaa2ab6d45e5fed845944a5a9269c47c1ba 100644
|
| --- a/chrome/browser/resources/settings/settings_ui/settings_ui.js
|
| +++ b/chrome/browser/resources/settings/settings_ui/settings_ui.js
|
| @@ -28,28 +28,12 @@ Polymer({
|
| },
|
|
|
| listeners: {
|
| - 'sideNav.iron-select': 'onIronSelect_',
|
| - 'paper-responsive-change': 'onPaperResponsiveChange_',
|
| + 'sideNav.iron-activate': 'onIronActivate_',
|
| },
|
|
|
| - /**
|
| - * @param {!CustomEvent} e
|
| - * @private
|
| - */
|
| - onIronSelect_: function(e) {
|
| - if (Polymer.dom(e).path.indexOf(this.$.panel) >= 0) {
|
| - this.classList.remove('narrowing');
|
| - this.$.panel.closeDrawer();
|
| - }
|
| - },
|
| -
|
| - /**
|
| - * @param {!CustomEvent} e
|
| - * @private
|
| - */
|
| - onPaperResponsiveChange_: function(e) {
|
| - if (Polymer.dom(e).rootTarget == this.$.panel)
|
| - this.classList.toggle('narrowing', e.detail.narrow);
|
| + /** @private */
|
| + onIronActivate_: function() {
|
| + this.$.panel.closeDrawer();
|
| },
|
|
|
| /** @private */
|
|
|