Updated the Handlebars handler for the portrait mobile media query.
This commit is contained in:
parent
7314f8f607
commit
10ff076629
@ -145,7 +145,7 @@ Handlebars.registerHelper "isUserTalking", (userId) ->
|
||||
BBB.isUserTalking(userId)
|
||||
|
||||
Handlebars.registerHelper 'isPortraitMobile', () ->
|
||||
window.matchMedia('(orientation: portrait)').matches and window.matchMedia('(max-device-width: 1279px)').matches
|
||||
window.matchMedia('(orientation: portrait)').matches and window.matchMedia('(max-device-aspect-ratio: 1/1)').matches
|
||||
|
||||
Handlebars.registerHelper "meetingIsRecording", ->
|
||||
Meteor.Meetings.findOne()?.recorded # Should only ever have one meeting, so we dont need any filter and can trust result #1
|
||||
|
Loading…
Reference in New Issue
Block a user