diff --git a/app/coffee/modules/common/lightboxes.coffee b/app/coffee/modules/common/lightboxes.coffee index ff262cb8..feb09705 100644 --- a/app/coffee/modules/common/lightboxes.coffee +++ b/app/coffee/modules/common/lightboxes.coffee @@ -41,11 +41,12 @@ class LightboxService extends taiga.Service $el.css('display', 'flex') - $el.find('input,textarea').first().focus() - @animationFrame.add => $el.addClass("open") + @animationFrame.add -> + $el.find('input,textarea').first().focus() + @animationFrame.add => lightboxContent.show() defered.resolve()