Skip to content

Commit

Permalink
Fixed a bug in move to window feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill13579 committed Apr 23, 2018
1 parent 1c8c3c7 commit a9f7432
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/popup/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -524,9 +524,7 @@ function windowEntryDropped(e) {
windowId: parseInt(destinationWindowId),
index: -1
});
if (destinationWindowId !== sourceWindow.getAttribute("data-window_id")) {
attachTab(sourceTabId, parseInt(destinationWindowId), -1);
}
attachTab(sourceTabId, parseInt(destinationWindowId), -1);
}
}
}
Expand Down

0 comments on commit a9f7432

Please sign in to comment.