Also put a class on html element for desktop view

This commit is contained in:
Neil Lalonde 2013-09-13 13:58:02 -04:00
parent cca09e1436
commit 8de91e3789
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ module ApplicationHelper
end
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
def escape_unicode(javascript)