diff --git a/js/ui/panel.js b/js/ui/panel.js index fe3fc392f..55b9dc9f8 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -1104,7 +1104,7 @@ const Panel = new Lang.Class({ }, _onMenuSet: function(indicator) { - if (!indicator.menu || indicator.menu._openChangedId > 0) + if (!indicator.menu || indicator.menu.hasOwnProperty('_openChangedId')) return; indicator.menu._openChangedId = indicator.menu.connect('open-state-changed',