jquery/jquery-ui — pull request #591 by N3RD (2012-02-03 07:47:28+00:00)
Title: Fixed issue where clicking on the button did not close the date picker i...

...n Chrome. Binding the hide/show routine to the button.click event while binding the hide routine to the document.mousedown event does not work because mousedown occurs before click. Although not a problem in Firefox, Chrome is fast enough to hide the date picker before the button.click event fires, which causes the button.click handler to re-show the datepicker.