Skip to content

Commit

Permalink
Fixed click on grayed-out items selecting wrong dates
Browse files Browse the repository at this point in the history
  • Loading branch information
biohzrdmx committed Sep 1, 2014
1 parent 729bd9f commit 4906a21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/jquery.datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@
e.preventDefault();
var el = $(this),
calendar = el.closest('.calendar');
if ( el.hasClass('blank') ) {
if ( el.hasClass('blank') || el.hasClass('grayed') ) {
return;
}
//
Expand Down
Loading

0 comments on commit 4906a21

Please sign in to comment.