There was an error while loading. Please reload this page.
showCurrentAtPos
1 parent 573e7e6 commit 17404ceCopy full SHA for 17404ce
ui/widgets/datepicker.js
@@ -988,9 +988,7 @@ $.extend( Datepicker.prototype, {
988
if ( this._isDisabledDatepicker( target[ 0 ] ) ) {
989
return;
990
}
991
- this._adjustInstDate( inst, offset +
992
- ( period === "M" ? this._get( inst, "showCurrentAtPos" ) : 0 ), // undo positioning
993
- period );
+ this._adjustInstDate( inst, offset, period );
994
this._updateDatepicker( inst );
995
},
996
0 commit comments