Permalink
Browse files

Fix highlighting issue in chrome

This commit utiltizes setTimout before setSelection
to keep the unit highlighted when changed with the arrow keys

Update was being called unnecessarily in several methods so that was
fixed as well.
  • Loading branch information...
1 parent a77666e commit 50d054954e0b20fc36ffbc4f7db76b9a6e6cf288 @jdewit committed Jan 31, 2013
Showing with 174 additions and 100 deletions.
  1. +120 −95 js/bootstrap-timepicker.js
  2. +1 −1 js/bootstrap-timepicker.min.js
  3. +25 −2 spec/js/KeyboardEventsSpec.js
  4. +26 −0 spec/js/MouseEventsSpec.js
  5. +2 −2 spec/js/TimepickerSpec.js
Oops, something went wrong.

0 comments on commit 50d0549

Please sign in to comment.