amsul/pickadate.js — pull request #69 by jagooding (2013-01-18 01:56:04+00:00)
Title: Keyboard fix, prevent focus stealing.

I fixed the issue with keyboard input being disabled under certain circumstances. One of the commits in this request is the revert I did on my own end, not sure how to not include it in the request?

Anyways, the important piece is this:

```javascript
on('mousedown.P' + CALENDAR.id,function(event){
if ( event.target != ELEMENT ){
event.preventDefault()
event.stopPropagation()
}
} )
```
It keeps the focus from being stolen from the input element, thus allowing keyboard input to remain.