Fix exception in DocList#focus

pull/382/head
Thibaut Courouble 9 years ago
parent f9507b87de
commit 802600b602

@ -120,7 +120,7 @@ class app.views.DocList extends app.View
return
focus: (model) ->
@listFocus.focus @find("a[href='#{model.fullPath()}']")
@listFocus?.focus @find("a[href='#{model.fullPath()}']")
return
revealCurrent: ->

Loading…
Cancel
Save