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

Commit

Permalink
Auditors: @bsclifton
Browse files Browse the repository at this point in the history
Fix #3356
  • Loading branch information
bbondy committed Oct 10, 2016
1 parent d895e31 commit 5df2c81
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/common/commonMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,13 +275,12 @@ module.exports.submitFeedbackMenuItem = () => {
}

module.exports.bookmarksToolbarMenuItem = () => {
const showBookmarksToolbar = getSetting(settings.SHOW_BOOKMARKS_TOOLBAR)
return {
label: locale.translation('bookmarksToolbar'),
type: 'checkbox',
checked: showBookmarksToolbar,
checked: getSetting(settings.SHOW_BOOKMARKS_TOOLBAR),
click: (item, focusedWindow) => {
appActions.changeSetting(settings.SHOW_BOOKMARKS_TOOLBAR, !showBookmarksToolbar)
appActions.changeSetting(settings.SHOW_BOOKMARKS_TOOLBAR, !getSetting(settings.SHOW_BOOKMARKS_TOOLBAR))
}
}
}
Expand Down

1 comment on commit 5df2c81

@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.