src/aria/popups/PopupManager.js
function (popup) {
                if (utilsArray.contains(this.openedPopups, popup)) {
                    utilsArray.remove(this.openedPopups, popup);
                }
                if (utilsArray.contains(this.popups, popup)) {
                    utilsArray.remove(this.popups, popup);
                }
                if (utilsArray.isEmpty(this.openedPopups)) {
                    this.currentZIndex = this.baseZIndex;
                }
            }
function (popup) {
                if (utilsArray.contains(this.openedPopups, popup)) {
                    utilsArray.remove(this.openedPopups, popup);
                }
                if (utilsArray.contains(this.popups, popup)) {
                    utilsArray.remove(this.popups, popup);
                }
                if (utilsArray.isEmpty(this.openedPopups)) {
                    this.currentZIndex = this.baseZIndex;
                }
            }
function ( popup ) { if ( utilsArray . contains ( this . openedPopups , popup ) ) { utilsArray . remove ( this . openedPopups , popup ) ; } if ( utilsArray . contains ( this . popups , popup ) ) { utilsArray . remove ( this . popups , popup ) ; } if ( utilsArray . isEmpty ( this . openedPopups ) ) { this . currentZIndex = this . baseZIndex ; } }
Unregister the popup in the manager.
@param {aria.popups.Popup} popup
Unregister the popup in the manager .