fix focus on open lightbox

stable
Juanfran 2015-12-16 08:16:22 +01:00
parent e4daf98069
commit 53d5f3d1c0
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 =>