[backport] fix focus on open lightbox
parent
cadb09e65c
commit
33e1f5272e
|
@ -44,8 +44,7 @@ class LightboxService extends taiga.Service
|
||||||
|
|
||||||
@animationFrame.add ->
|
@animationFrame.add ->
|
||||||
$el.addClass("open")
|
$el.addClass("open")
|
||||||
|
$el.one "transitionend", =>
|
||||||
@animationFrame.add ->
|
|
||||||
$el.find('input,textarea').first().focus()
|
$el.find('input,textarea').first().focus()
|
||||||
|
|
||||||
@animationFrame.add =>
|
@animationFrame.add =>
|
||||||
|
|
Loading…
Reference in New Issue