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

Removed unneeded context menu items (Fix #3670) #3713

Merged
merged 1 commit into from
Sep 12, 2016
Merged

Removed unneeded context menu items (Fix #3670) #3713

merged 1 commit into from
Sep 12, 2016

Conversation

cndouglas
Copy link

@cndouglas cndouglas commented Sep 4, 2016

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).

Fixes #3670

Don't show "Reload" and "Clone" in the context menu of the new tab page.

const location = frameProps.get('location')
if (!(location === 'about:blank' || location === 'about:newtab' || isIntermediateAboutPage(location))) {
items.push(
CommonMenu.newTabMenuItem(frameProps.get('key')),
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the patch.
I think new tab should be there regardless

Don't show "Reload" and "Clone" in the context menu of the new tab page.
@cndouglas
Copy link
Author

@bbondy: I've changed the PR based on your comments.

@bbondy
Copy link
Member

bbondy commented Sep 12, 2016

++

@bbondy bbondy merged commit 47bf893 into brave:master Sep 12, 2016
@cndouglas cndouglas deleted the patch-1 branch September 14, 2016 02:43
@luixxiul luixxiul added this to the 0.12.1dev milestone Sep 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants