[backport] fix focus on open lightbox

stable
Juanfran 2015-12-16 08:16:22 +01:00
parent cadb09e65c
commit 33e1f5272e
1 changed files with 2 additions and 3 deletions

View File

@ -44,8 +44,7 @@ class LightboxService extends taiga.Service
@animationFrame.add ->
$el.addClass("open")
@animationFrame.add ->
$el.one "transitionend", =>
$el.find('input,textarea').first().focus()
@animationFrame.add =>