Quick fix for bootstrap's bug in v2.3.1 ( https://github.com/twitter/bootstrap/issues/7118 ). Note that this introduces different regression on dropdown plugin.