Merge "Close the gr-account-dropdown when a link is followed"
This commit is contained in:
		@@ -26,6 +26,12 @@
 | 
				
			|||||||
      this.$.restAPI.getConfig().then(function(cfg) {
 | 
					      this.$.restAPI.getConfig().then(function(cfg) {
 | 
				
			||||||
        this._hasAvatars = !!(cfg && cfg.plugin && cfg.plugin.has_avatars);
 | 
					        this._hasAvatars = !!(cfg && cfg.plugin && cfg.plugin.has_avatars);
 | 
				
			||||||
      }.bind(this));
 | 
					      }.bind(this));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      this.listen(this.$.dropdown, 'tap', '_handleDropdownTap');
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    _handleDropdownTap: function(e) {
 | 
				
			||||||
 | 
					      this.$.dropdown.close();
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    _showDropdownTapHandler: function(e) {
 | 
					    _showDropdownTapHandler: function(e) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user