silviomoreto/bootstrap-select — pull request #264 by vsn4ik (2013-08-20 02:19:24+00:00)
Title: Fix events on pressed "Spacebar" and "Enter"

I tested: on Linux - Chromium, Firefox and Opera, on OS X - Chrome, Firefox, Opera and Safari.

Issue only not multiple select when select open and focused button (not "dropdown-menu *")
1. When pressed "Spacebar" select reopened instead of closing.
2. When pressed "Enter" select does not close.

I remove toggleClass('open') because this not needed, "open" class correctly toggled.
Multiple select correct work befor and after fix.