src/components/menu/js/menuServiceProvider.js
function firstVisibleChild() {
        for (var i = 0; i < openMenuNode.children.length; ++i) {
          if ($window.getComputedStyle(openMenuNode.children[i]).display != 'none') {
            return openMenuNode.children[i];
          }
        }
      }
function firstVisibleChild() {
        for (var i = 0; i < openMenuNode.children.length; ++i) {
          if ($window.getComputedStyle(openMenuNode.children[i]).display != 'none') {
            return openMenuNode.children[i];
          }
        }
      }
function firstVisibleChild ( ) { for ( var i = 0 ; i < openMenuNode . children . length ; ++ i ) { if ( $window . getComputedStyle ( openMenuNode . children [ i ] ) . display != 'none' ) { return openMenuNode . children [ i ] ; } } }
Gets the first visible child in the openMenuNode
Necessary incase menu nodes are being dynamically hidden
Gets the first visible child in the openMenuNode Necessary incase menu nodes are being dynamically hidden