Skip to content

Commit

Permalink
Creates sharepane of new tabs only if those tabs are text editors. Re…
Browse files Browse the repository at this point in the history
…solves #66 where user was having issue with markdown preview
  • Loading branch information
jpatel531 committed Aug 7, 2015
1 parent 154dab9 commit fd3ac59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/atom_pair.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ module.exports = AtomPair =
atom.workspace.onDidOpen (e) =>
return unless @engageTabListener
editor = e.item
return unless editor.constructor.name is "TextEditor"
sharePane = @createSharePane(editor)
return unless @triggerPush
@queue.add(@globalChannel.name, 'client-create-share-pane', {
Expand Down

0 comments on commit fd3ac59

Please sign in to comment.