diff --git a/app/assets/javascripts/discourse/components/header-dropdown.js.es6 b/app/assets/javascripts/discourse/components/header-dropdown.js.es6 index 387f7ae8f..7a3f52f45 100644 --- a/app/assets/javascripts/discourse/components/header-dropdown.js.es6 +++ b/app/assets/javascripts/discourse/components/header-dropdown.js.es6 @@ -14,14 +14,14 @@ export default Ember.Component.extend({ actions: { toggle() { - if (Discourse.Mobile.mobileView && this.get('mobileAction')) { - this.sendAction('mobileAction'); - return; - } - if (this.siteSettings.login_required && !this.currentUser) { this.sendAction('loginAction'); } else { + if (Discourse.Mobile.mobileView && this.get('mobileAction')) { + this.sendAction('mobileAction'); + return; + } + if (this.get('action')) { this.sendAction('action'); } else {