Restore functionality to properly detect mobile and choose correct icon

This commit is contained in:
perroned 2015-04-16 09:55:56 -07:00
parent 1b4ede0028
commit 5808dba448

View File

@ -147,8 +147,8 @@ Handlebars.registerHelper "isUserTalking", (userId) ->
Handlebars.registerHelper 'isMobile', () ->
isMobile()
Handlebars.registerHelper 'isMobile', () ->
isMobile()
Handlebars.registerHelper 'isPortraitMobile', () ->
isPortraitMobile()
Handlebars.registerHelper 'isMobileChromeOrFirefox', () ->
isMobile() and ((getBrowserName() is 'Chrome') or (getBrowserName() is 'Firefox'))