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

Commit

Permalink
Follow up of brave/muon#170
Browse files Browse the repository at this point in the history
fix #7763
fix #7768

Auditors: @bridiver, @bbondy, @bsclifton

Test Plan: Covered by automatic test
  • Loading branch information
darkdh committed Mar 18, 2017
1 parent ff3e7a8 commit 3964c34
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/components/frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -732,8 +732,7 @@ class Frame extends ImmutableComponent {
contextMenus.onShowAutofillMenu(e.suggestions, e.rect, this.frame)
})
this.webview.addEventListener('hide-autofill-popup', (e) => {
if (this.props.contextMenuDetail && this.props.contextMenuDetail.get('type') === 'autofill' &&
(this.props.contextMenuDetail.get('tabId') !== this.props.tabId || this.webview.isFocused())) {
if (this.props.contextMenuDetail && this.props.contextMenuDetail.get('type') === 'autofill') {
windowActions.autofillPopupHidden(this.props.tabId)
}
})
Expand Down

0 comments on commit 3964c34

Please sign in to comment.