Restore functionality to properly detect mobile and choose correct icon
This commit is contained in:
parent
1b4ede0028
commit
5808dba448
@ -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'))
|
||||
|
Loading…
Reference in New Issue
Block a user