octopuscreative/FancySelect — pull request #50 by dahliacreative (2014-04-25 08:25:27+00:00)
Title: Fixing blur event so it only fires if the cursor is outside the fancy select, or an option is chosen.

There was a problem where if when you selected an option, if your click was too long, the option would get selected because the blur event was being fired.

I added an isHovered variable which gets set to true when you are hovered over the options and removed when you mouseout, then in the blur event I set it to only fire if isHovered is false.

Not sure what you guys think of this, but this is now a standard implementation in all my projects