diff --git a/lib/atom_pair.coffee b/lib/atom_pair.coffee index 853712f..7bcf30f 100644 --- a/lib/atom_pair.coffee +++ b/lib/atom_pair.coffee @@ -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', {