src/common/js/winjs/js/ui.js
function SettingsFlyout_addFinalDiv() {
                    var _elms = this._element.getElementsByTagName("*");
                    var _maxTab = 0;
                    for (var i = 0; i < _elms.length; i++) {
                        if (_elms[i].tabIndex > _maxTab) {
                            _maxTab = _elms[i].tabIndex;
                        }
                    }
                    var finalDiv = _Global.document.createElement("div");
                    finalDiv.className = _Constants.finalDivClass;
                    finalDiv.style.display = "inline";
                    finalDiv.setAttribute("role", "menuitem");
                    finalDiv.setAttribute("aria-hidden", "true");
                    finalDiv.tabIndex = _maxTab;
                    _ElementUtilities._addEventListener(finalDiv, "focusin", this._focusOnFirstFocusableElementFromParent, false);

                    this._element.appendChild(finalDiv);
                }
function SettingsFlyout_addFinalDiv() {
                    var _elms = this._element.getElementsByTagName("*");
                    var _maxTab = 0;
                    for (var i = 0; i < _elms.length; i++) {
                        if (_elms[i].tabIndex > _maxTab) {
                            _maxTab = _elms[i].tabIndex;
                        }
                    }
                    var finalDiv = _Global.document.createElement("div");
                    finalDiv.className = _Constants.finalDivClass;
                    finalDiv.style.display = "inline";
                    finalDiv.setAttribute("role", "menuitem");
                    finalDiv.setAttribute("aria-hidden", "true");
                    finalDiv.tabIndex = _maxTab;
                    _ElementUtilities._addEventListener(finalDiv, "focusin", this._focusOnFirstFocusableElementFromParent, false);

                    this._element.appendChild(finalDiv);
                }
function SettingsFlyout_addFinalDiv ( ) { var _elms = this . _element . getElementsByTagName ( "*" ) ; var _maxTab = 0 ; for ( var i = 0 ; i < _elms . length ; i ++ ) { if ( _elms [ i ] . tabIndex > _maxTab ) { _maxTab = _elms [ i ] . tabIndex ; } } var finalDiv = _Global . document . createElement ( "div" ) ; finalDiv . className = _Constants . finalDivClass ; finalDiv . style . display = "inline" ; finalDiv . setAttribute ( "role" , "menuitem" ) ; finalDiv . setAttribute ( "aria-hidden" , "true" ) ; finalDiv . tabIndex = _maxTab ; _ElementUtilities . _addEventListener ( finalDiv , "focusin" , this . _focusOnFirstFocusableElementFromParent , false ) ; this . _element . appendChild ( finalDiv ) ; }
Create and add a new final div to the end of the list
Create and add a new final div to the end of the list