template/static/scripts/bootstrap-typeahead.js
function (event) {
            var active = this.$menu.find('.active').removeClass('active');
            var next = active.next();

            if (!next.length) {
                next = $(this.$menu.find('li')[0]);
            }

            next.addClass('active');
        }
function (event) {
            var active = this.$menu.find('.active').removeClass('active');
            var next = active.next();

            if (!next.length) {
                next = $(this.$menu.find('li')[0]);
            }

            next.addClass('active');
        }
function ( event ) { var active = this . $menu . find ( '.active' ) . removeClass ( 'active' ) ; var next = active . next ( ) ; if ( ! next . length ) { next = $ ( this . $menu . find ( 'li' ) [ 0 ] ) ; } next . addClass ( 'active' ) ; }
------------------------------------------------------------------  Selects the next result
------------------------------------------------------------------ Selects the next result