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 return
focus: (model) -> focus: (model) ->
@listFocus.focus @find("a[href='#{model.fullPath()}']") @listFocus?.focus @find("a[href='#{model.fullPath()}']")
return return
revealCurrent: -> revealCurrent: ->

Loading…
Cancel
Save