Skip to content
Permalink
Browse files

Fixed #3709 - Datepicker: clicking on a date causes the browser to fo…

…llow '#' anchor
  • Loading branch information...
rdworth committed Dec 31, 2008
1 parent 043fe4f commit 0b9227475c88a5ff909a6e9c00012a2a45ce5cf7
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.datepicker.js
@@ -1383,7 +1383,7 @@ $.extend(Datepicker.prototype, {
' ' + this._currentClass : '') + // highlight selected day
(printDate.getTime() == today.getTime() ? ' ui-datepicker-today' : '')) + '"' + // highlight today (if different)
((!otherMonth || showOtherMonths) && daySettings[2] ? ' title="' + daySettings[2] + '"' : '') + // cell title
(unselectable ? '' : ' onclick="jQuery.datepicker._selectDay(\'#' +
(unselectable ? '' : ' onclick="event.preventDefault();jQuery.datepicker._selectDay(\'#' +
inst.id + '\',' + drawMonth + ',' + drawYear + ', this);"') + '>' + // actions
(otherMonth ? (showOtherMonths ? printDate.getDate() : ' ') : // display for other months
(unselectable ? printDate.getDate() : '<a class="ui-state-default' +

0 comments on commit 0b92274

Please sign in to comment.
You can’t perform that action at this time.