Skip to content

Commit

Permalink
Fixes bookmark title selection
Browse files Browse the repository at this point in the history
Resolves brave#9091

Auditors: @bsclifton @darkdh

Test Plan:
- covered with tests
  • Loading branch information
NejcZdovc committed May 27, 2017
1 parent 1da2c27 commit cdecc9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/renderer/components/bookmarks/addEditBookmarkHanger.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ class AddEditBookmarkHanger extends ImmutableComponent {
if (!this.props.isModal && !this.props.shouldShowLocation) {
this.onSave(false)
}
this.setDefaultFocus()
this.bookmarkName.value = this.displayBookmarkName
this.setDefaultFocus()
}
onKeyDown (e) {
switch (e.keyCode) {
Expand Down

1 comment on commit cdecc9b

@darkdh
Copy link

@darkdh darkdh commented on cdecc9b May 30, 2017

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.