diff --git a/js/ui/panel.js b/js/ui/panel.js index fcb51950f..6b8e60b19 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -1167,7 +1167,7 @@ class Panel extends St.Widget { } _onMenuSet(indicator) { - if (!indicator.menu || indicator.menu.hasOwnProperty('_openChangedId')) + if (!indicator.menu || indicator.menu._openChangedId) return; indicator.menu._openChangedId = indicator.menu.connect('open-state-changed',