Merge pull request #1689 from velesin/remove_header_controller_mobile_device
removes unused property from HeaderController
This commit is contained in:
commit
558eb78daa
|
@ -19,10 +19,6 @@ Discourse.HeaderController = Discourse.Controller.extend({
|
|||
return Discourse.User.current() && !this.get('topic.isPrivateMessage');
|
||||
}.property('topic.isPrivateMessage'),
|
||||
|
||||
mobileDevice: function() {
|
||||
return Discourse.Mobile.isMobileDevice;
|
||||
}.property(),
|
||||
|
||||
mobileView: function() {
|
||||
return Discourse.Mobile.mobileView;
|
||||
}.property(),
|
||||
|
|
Loading…
Reference in New Issue