aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-10-18 13:00:49 -0400
committerGitHub <noreply@github.com>2020-10-18 13:00:49 -0400
commit3ab63f4f55052c215aa7bcf6352cdb4205252f5d (patch)
tree5a894bce11be314d7a71aebec8cb5da592ebdda4 /ext
parent82e203dd765d42c8e387e9b67b6349ffa2e34b0c (diff)
Fix missing close cause (#935)
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/settings/popup-menu.js4
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) {