mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Also put a class on html element for desktop view
This commit is contained in:
parent
cca09e1436
commit
8de91e3789
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ module ApplicationHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def html_classes
|
def html_classes
|
||||||
"#{mobile_view? ? 'mobile-view' : ''} #{mobile_device? ? 'mobile-device' : ''}"
|
"#{mobile_view? ? 'mobile-view' : 'desktop-view'} #{mobile_device? ? 'mobile-device' : 'not-mobile-device'}"
|
||||||
end
|
end
|
||||||
|
|
||||||
def escape_unicode(javascript)
|
def escape_unicode(javascript)
|
||||||
|
|
Loading…
Reference in a new issue