Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Dropping a URL onto URL bar regressed creating a new tab
Browse files Browse the repository at this point in the history
Fix #8750
  • Loading branch information
bbondy committed May 8, 2017
1 parent 769f7a0 commit b9ac832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/renderer/components/navigation/navigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class Navigator extends React.Component {
if (e.dataTransfer.files.length > 0) {
Array.from(e.dataTransfer.files).forEach((file) => {
const path = encodeURI(file.path)
return windowActions.newFrame({location: path, title: file.name})
appActions.createTabRequested({ url: path })
})
} else if (e.dataTransfer.getData('text/plain')) {
if (this.props.activeTabId) {
Expand Down

1 comment on commit b9ac832

@bsclifton
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++

Please sign in to comment.