storborg/bootstrap — pull request #2 by dairiki (2012-03-09 23:30:01+00:00)
Title: 2.0 datepicker nit fix

I will try again.

Nice datepicker!

I've stumbled across a problem. If the offset parent of the datepicker input is not the document,
the calendar gets positioned in the wrong place. The solution is a one liner.

(To demonstrate the problem, you can make this change 8ab69770ba406f4d2924b064cd3313d323278d34 to docs/javascript.html. When you click on the date input, you'll have to scroll down to the bottom of the page to find the widget.)