Made sure the animation of the userlist's items still works after a pan gesture ends.

This commit is contained in:
Maxim Khlobystov 2015-08-02 14:11:24 -04:00
parent 16658f1c0f
commit 63588ede10

View File

@ -211,9 +211,11 @@ Template.main.gestures
$('.left-drawer').addClass('sl-left-drawer')
$('.sl-left-drawer').removeClass('left-drawer')
$('.sl-left-drawer').addClass('sl-left-drawer-content-delay')
$('.right-drawer').addClass('sl-right-drawer')
$('.sl-right-drawer').removeClass('right-drawer')
$('.sl-right-drawer').addClass('sl-right-drawer-content-delay')
'panright #container, panleft #container': (event, template) ->
if isPortraitMobile() and isPanHorizontal(event)