Merge "Close the gr-account-dropdown when a link is followed"

This commit is contained in:
Andrew Bonventre
2016-06-08 17:56:05 +00:00
committed by Gerrit Code Review

View File

@@ -26,6 +26,12 @@
this.$.restAPI.getConfig().then(function(cfg) {
this._hasAvatars = !!(cfg && cfg.plugin && cfg.plugin.has_avatars);
}.bind(this));
this.listen(this.$.dropdown, 'tap', '_handleDropdownTap');
},
_handleDropdownTap: function(e) {
this.$.dropdown.close();
},
_showDropdownTapHandler: function(e) {