diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index d65f03f21..3d2b4e60c 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -2086,7 +2086,7 @@ const PopupMenuManager = new Lang.Class({ }, removeMenu: function(menu) { - if (menu == this._activeMenu) + if (menu == this.activeMenu) this._closeMenu(menu); let position = this._findMenu(menu);