Fix error in DocPicker#activate

pull/165/head
Thibaut 10 years ago
parent 83681cb96c
commit 144642985d

@ -13,7 +13,7 @@ class app.views.DocPicker extends app.View
activate: ->
if super
@render()
@findByTag('input').focus()
@findByTag('input')?.focus()
app.appCache?.on 'progress', @onAppCacheProgress
$.on @el, 'focus', @onFocus, true
return

Loading…
Cancel
Save