From 061d102cc146b2ffa8ae81cf38af82dc9c8e6c1d Mon Sep 17 00:00:00 2001 From: Anthony Tseng Date: Sat, 18 Mar 2017 03:19:39 -0400 Subject: [PATCH] Follow up of https://github.com/brave/muon/pull/170 requires https://github.com/brave/muon/pull/170 fix #7763 fix #7768 Auditors: @bridiver, @bbondy, @bsclifton Test Plan: Covered by automatic test --- js/components/frame.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/components/frame.js b/js/components/frame.js index 861e16340fa..dec9ac676ee 100644 --- a/js/components/frame.js +++ b/js/components/frame.js @@ -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) } })