Skip to content
Snippets Groups Projects
Commit 9ed62d5c authored by Karl Prieb's avatar Karl Prieb
Browse files

fix tab-bar position on swipe

parent 00650c45
No related branches found
No related tags found
No related merge requests found
...@@ -143,7 +143,7 @@ Template.main.events ...@@ -143,7 +143,7 @@ Template.main.events
if $(e.currentTarget).closest('.main-content').length > 0 if $(e.currentTarget).closest('.main-content').length > 0
t.touchstartX = e.originalEvent.touches[0].clientX t.touchstartX = e.originalEvent.touches[0].clientX
t.touchstartY = e.originalEvent.touches[0].clientY t.touchstartY = e.originalEvent.touches[0].clientY
t.mainContent = $('.main-content, .flex-tab-bar') t.mainContent = $('.main-content')
t.wrapper = $('.messages-box > .wrapper') t.wrapper = $('.messages-box > .wrapper')
'touchmove': (e, t) -> 'touchmove': (e, t) ->
......
@menu = new class @menu = new class
init: -> init: ->
@mainContent = $('.main-content, .flex-tab-bar') @mainContent = $('.main-content')
@list = $('.rooms-list') @list = $('.rooms-list')
Session.set("isMenuOpen", false) Session.set("isMenuOpen", false)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment