Skip to content

Commit

Permalink
Always open new tab in current workspace
Browse files Browse the repository at this point in the history
Instead of telling atom to open new window, but passing a flag
to avoid always opening a new window.

Fixes #31
  • Loading branch information
nene committed Mar 5, 2018
1 parent 808597f commit 701f796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/import-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function gotoWord() {
.then((result) => {

if (result.goto) {
atom.open({ pathsToOpen: [result.goto], newWindow: false });
atom.workspace.open(result.goto);
}

processResultMessages(result);
Expand Down

0 comments on commit 701f796

Please sign in to comment.