diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-10-18 13:00:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-18 13:00:49 -0400 |
commit | 3ab63f4f55052c215aa7bcf6352cdb4205252f5d (patch) | |
tree | 5a894bce11be314d7a71aebec8cb5da592ebdda4 /ext/bg/js/settings/popup-menu.js | |
parent | 82e203dd765d42c8e387e9b67b6349ffa2e34b0c (diff) |
Fix missing close cause (#935)
Diffstat (limited to 'ext/bg/js/settings/popup-menu.js')
-rw-r--r-- | ext/bg/js/settings/popup-menu.js | 4 |
1 files 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) { |