loopj/jquery-tokeninput — pull request #554 by Maddock- (2013-07-25 21:28:44+00:00)
Title: Don't select first result as default when addFreeTagging enabled

When freetagging is enabled, and a user wishes to add a free-tag which is a substring of an existing tag, if they leave longer than 'searchDelay' time before hitting enter, the first item from the dropdown is selected to be the token, rather than the free text the user intended.

This change stops the first result being selected by default when freetagging is enabled, and instead stores it to be selected on the first down/right key press. Existing mouseover behaviour is unaffected.