From 3ab63f4f55052c215aa7bcf6352cdb4205252f5d Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 18 Oct 2020 13:00:49 -0400 Subject: Fix missing close cause (#935) --- ext/bg/js/settings/popup-menu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/bg/js/settings/popup-menu.js b/ext/bg/js/settings/popup-menu.js index def59055..f49e50da 100644 --- a/ext/bg/js/settings/popup-menu.js +++ b/ext/bg/js/settings/popup-menu.js @@ -48,14 +48,14 @@ class PopupMenu { } close() { - this._close(null); + this._close(null, 'close'); } // Private _onMenuContainerClick(e) { if (e.currentTarget !== e.target) { return; } - this._close(null, 'close'); + this._close(null, 'outside'); } _onMenuItemClick(e) { -- cgit v1.2.3