History

Improve escape key behavior in single doc mode

Thibaut Courouble committed 9 years ago

Commit 57a995d1 parent 03403bd1 file · +1 −1Browse files

Unified · Split

assets/javascripts/views/sidebar/doc_list.coffee+1−1
@@ -84,7 +84,7 @@ class app.views.DocList extends app.View · 83 unmodified lines
84 @listSelect.deselect()84 @listSelect.deselect()
85 @listFocus?.blur()85 @listFocus?.blur()
86 @listFold.reset()86 @listFold.reset()
87 @revealCurrent() if options.revealCurrent87 @revealCurrent() if options.revealCurrent || app.isSingleDoc()
88 return88 return
89 89
90 onOpen: (event) =>90 onOpen: (event) =>