Skip to content

Commit

Permalink
Fixes homepage preference for new tab when it's opened with a keyboard
Browse files Browse the repository at this point in the history
Resolves brave#8278

Auditors: @bsclifton

Test Plan:
- Open preferences, set homepage value
- Set new tab to open homepage
- Open a new tab with a keyboard (cmd+t)
  • Loading branch information
NejcZdovc committed Apr 13, 2017
1 parent 2cb21dd commit e752734
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/common/commonMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ module.exports.newTabMenuItem = (openerTabId) => {
click: function (item, focusedWindow) {
ensureAtLeastOneWindow(Immutable.fromJS({}))
appActions.createTabRequested({
url: 'about:newtab',
windowId: getCurrentWindowId(),
openerTabId
})
Expand Down

1 comment on commit e752734

@bsclifton
Copy link

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.