Skip to content

Commit

Permalink
BUGFIX issue xndcn#79 from symbols-tree-view's PR xndcn#172
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolashainaux committed Jun 17, 2017
1 parent 63b4a2d commit 2540b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/symbols-tree-nav.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module.exports =

focusClickedTag: (editor, text) ->
console.log "clicked: #{text}"
if editor = @getEditor()
if @parser && editor = @getEditor()
tag = (t for t in @parser.tags when t.name is text)[0]
@treeView.select(tag)
# imho, its a bad idea =(
Expand Down

0 comments on commit 2540b2a

Please sign in to comment.