Skip to content

Commit

Permalink
Merge "reportAnIssueMenuItem" and "submitFeedbackMenuItem"
Browse files Browse the repository at this point in the history
Deletes "Report an Issue" menu item because both it and "Submit Feedback"
link to community.brave.com.

Resolves brave#6180
  • Loading branch information
bkilrain committed Jan 21, 2017
1 parent d4f79be commit 4d9f618
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion app/browser/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,6 @@ const createWindowSubmenu = () => {

const createHelpSubmenu = () => {
const submenu = [
CommonMenu.reportAnIssueMenuItem(),
CommonMenu.separatorMenuItem,
CommonMenu.submitFeedbackMenuItem(),
{
Expand Down
10 changes: 0 additions & 10 deletions app/common/commonMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,16 +249,6 @@ module.exports.importBrowserDataMenuItem = () => {
}
}

module.exports.reportAnIssueMenuItem = () => {
return {
label: locale.translation('reportAnIssue'),
click: function (item, focusedWindow) {
module.exports.sendToFocusedWindow(focusedWindow,
[messages.SHORTCUT_NEW_FRAME, communityURL])
}
}
}

module.exports.submitFeedbackMenuItem = () => {
return {
label: locale.translation('submitFeedback'),
Expand Down
1 change: 0 additions & 1 deletion js/contextMenus.js
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,6 @@ function hamburgerTemplateInit (location, e) {
CommonMenu.separatorMenuItem,
CommonMenu.checkForUpdateMenuItem(),
CommonMenu.separatorMenuItem,
CommonMenu.reportAnIssueMenuItem(),
CommonMenu.submitFeedbackMenuItem()
]
},
Expand Down

0 comments on commit 4d9f618

Please sign in to comment.