fix focus on open lightbox
parent
e4daf98069
commit
53d5f3d1c0
|
@ -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