mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 05:29:17 -06:00
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
Block a user