resources/assets/js/directives.js
// Change the active suggestion to the given index
Change the active suggestion to the given index
Change the active suggestion to the given index
function changeActiveTo(index, suggestionElems) {
                    suggestionElems[active].className = '';
                    active = index;
                    suggestionElems[active].className = 'active';
                }
function changeActiveTo ( index , suggestionElems ) { suggestionElems [ active ] . className = '' ; active = index ; suggestionElems [ active ] . className = 'active' ; }
Change the active suggestion to the given index
Change the active suggestion to the given index