themis/web/js/lib/aui.js
/**
       * Shifts explicit focus to the next available item in the menu
       *
       * @returns {undefined}
       */
Shifts explicit focus to the next available item in the menu
@returns {undefined}
Shifts explicit focus to the next available item in the menu @returns { undefined }
function focusNext() {
          var $items = getVisibleDropdownItems(this);
          var selected = document.activeElement;
          var idx;
          if ($items.last()[0] !== selected) {
              idx = $items.toArray().indexOf(selected);
              this.focusItem($items.get(idx + 1));
          }
      }
function focusNext ( ) { var $items = getVisibleDropdownItems ( this ) ; var selected = document . activeElement ; var idx ; if ( $items . last ( ) [ 0 ] !== selected ) { idx = $items . toArray ( ) . indexOf ( selected ) ; this . focusItem ( $items . get ( idx + 1 ) ) ; } }
Shifts explicit focus to the next available item in the menu
 @returns {undefined}
Shifts explicit focus to the next available item in the menu @returns { undefined }