mirror of
https://github.com/discourse/discourse.git
synced 2025-02-28 00:09:16 +00:00
removes unused property from HeaderController
This commit is contained in:
parent
82b78ec6ba
commit
afd198a387
@ -19,10 +19,6 @@ Discourse.HeaderController = Discourse.Controller.extend({
|
|||||||
return Discourse.User.current() && !this.get('topic.isPrivateMessage');
|
return Discourse.User.current() && !this.get('topic.isPrivateMessage');
|
||||||
}.property('topic.isPrivateMessage'),
|
}.property('topic.isPrivateMessage'),
|
||||||
|
|
||||||
mobileDevice: function() {
|
|
||||||
return Discourse.Mobile.isMobileDevice;
|
|
||||||
}.property(),
|
|
||||||
|
|
||||||
mobileView: function() {
|
mobileView: function() {
|
||||||
return Discourse.Mobile.mobileView;
|
return Discourse.Mobile.mobileView;
|
||||||
}.property(),
|
}.property(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user