src/aria/popups/PopupManager.js
function () {
                if (this._document) {
                    utilsEvent.removeListener(this._document, "mousedown", {
                        fn : this.onDocumentClick
                    });
                    utilsEvent.removeListener(this._document, "touchend", {
                        fn : this.onDocumentClick
                    });
                    utilsEvent.removeListener(this._document, "mouseout", {
                        fn : this.onDocumentMouseOut
                    });
                    utilsEvent.removeListener(this._document, "mousewheel", {
                        fn : this.onDocumentMouseScroll
                    });
                    utilsEvent.removeListener(this._document.body, "focusin", {
                        fn : this.onDocumentFocusIn
                    });
                    ariaUtilsAriaWindow.detachWindow();
                    this._document = null;
                    if (ariaCoreBrowser.isOldIE) {
                        ariaUtilsEvent.removeListener(Aria.$window, "mousewheel", {
                            fn : this._onScroll
                        });
                    } else {
                        ariaUtilsEvent.removeListener(Aria.$window, "scroll", {
                            fn : this._onScroll
                        });
                    }
                }
            }
function () {
                if (this._document) {
                    utilsEvent.removeListener(this._document, "mousedown", {
                        fn : this.onDocumentClick
                    });
                    utilsEvent.removeListener(this._document, "touchend", {
                        fn : this.onDocumentClick
                    });
                    utilsEvent.removeListener(this._document, "mouseout", {
                        fn : this.onDocumentMouseOut
                    });
                    utilsEvent.removeListener(this._document, "mousewheel", {
                        fn : this.onDocumentMouseScroll
                    });
                    utilsEvent.removeListener(this._document.body, "focusin", {
                        fn : this.onDocumentFocusIn
                    });
                    ariaUtilsAriaWindow.detachWindow();
                    this._document = null;
                    if (ariaCoreBrowser.isOldIE) {
                        ariaUtilsEvent.removeListener(Aria.$window, "mousewheel", {
                            fn : this._onScroll
                        });
                    } else {
                        ariaUtilsEvent.removeListener(Aria.$window, "scroll", {
                            fn : this._onScroll
                        });
                    }
                }
            }
function ( ) { if ( this . _document ) { utilsEvent . removeListener ( this . _document , "mousedown" , { fn : this . onDocumentClick } ) ; utilsEvent . removeListener ( this . _document , "touchend" , { fn : this . onDocumentClick } ) ; utilsEvent . removeListener ( this . _document , "mouseout" , { fn : this . onDocumentMouseOut } ) ; utilsEvent . removeListener ( this . _document , "mousewheel" , { fn : this . onDocumentMouseScroll } ) ; utilsEvent . removeListener ( this . _document . body , "focusin" , { fn : this . onDocumentFocusIn } ) ; ariaUtilsAriaWindow . detachWindow ( ) ; this . _document = null ; if ( ariaCoreBrowser . isOldIE ) { ariaUtilsEvent . removeListener ( Aria . $window , "mousewheel" , { fn : this . _onScroll } ) ; } else { ariaUtilsEvent . removeListener ( Aria . $window , "scroll" , { fn : this . _onScroll } ) ; } } }
Disconnect global events on the document
Disconnect global events on the document