js/OverlayScrollbars.js
function connectMutationObservers() {
                    if (_supportMutationObserver && !_mutationObserversConnected) {
                        _mutationObserverHost.observe(_hostElementNative, {
                            attributes: true,
                            attributeOldValue: true,
                            attributeFilter: [LEXICON.i, LEXICON.c, LEXICON.s]
                        });

                        _mutationObserverContent.observe(_isTextarea ? _targetElementNative : _contentElementNative, {
                            attributes: true,
                            attributeOldValue: true,
                            subtree: !_isTextarea,
                            childList: !_isTextarea,
                            characterData: !_isTextarea,
                            attributeFilter: _isTextarea ? ['wrap', 'cols', 'rows'] : [LEXICON.i, LEXICON.c, LEXICON.s]
                        });

                        _mutationObserversConnected = true;
                    }
                }
function connectMutationObservers() {
                    if (_supportMutationObserver && !_mutationObserversConnected) {
                        _mutationObserverHost.observe(_hostElementNative, {
                            attributes: true,
                            attributeOldValue: true,
                            attributeFilter: [LEXICON.i, LEXICON.c, LEXICON.s]
                        });

                        _mutationObserverContent.observe(_isTextarea ? _targetElementNative : _contentElementNative, {
                            attributes: true,
                            attributeOldValue: true,
                            subtree: !_isTextarea,
                            childList: !_isTextarea,
                            characterData: !_isTextarea,
                            attributeFilter: _isTextarea ? ['wrap', 'cols', 'rows'] : [LEXICON.i, LEXICON.c, LEXICON.s]
                        });

                        _mutationObserversConnected = true;
                    }
                }
function connectMutationObservers ( ) { if ( _supportMutationObserver && ! _mutationObserversConnected ) { _mutationObserverHost . observe ( _hostElementNative , { attributes : true , attributeOldValue : true , attributeFilter : [ LEXICON . i , LEXICON . c , LEXICON . s ] } ) ; _mutationObserverContent . observe ( _isTextarea ? _targetElementNative : _contentElementNative , { attributes : true , attributeOldValue : true , subtree : ! _isTextarea , childList : ! _isTextarea , characterData : ! _isTextarea , attributeFilter : _isTextarea ? [ 'wrap' , 'cols' , 'rows' ] : [ LEXICON . i , LEXICON . c , LEXICON . s ] } ) ; _mutationObserversConnected = true ; } }
Connects the MutationObservers if they are supported.
Connects the MutationObservers if they are supported .