superbly/superbly-tagfield — pull request #4 by kumichou (2012-01-17 16:42:28+00:00)
Title: Clicking on a tag when typing results in the typed text being entered, not the clicked tag

This patch sets the currentItem to the tag that was selected when the blur event fires, which allows addItem to work properly.

I standardized whitespace to 4 tags, as that was the prevalent style throughout the doc as well. Feel free to reject that commit if you don't want it.