File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -711,8 +711,7 @@ $.extend(Datepicker.prototype, {
711
711
712
712
/* Generate the date picker content. */
713
713
_updateDatepicker : function ( inst ) {
714
- var self = this ;
715
- self . maxRows = 4 ; //Reset the max number of rows being displayed (see #7043)
714
+ this . maxRows = 4 ; //Reset the max number of rows being displayed (see #7043)
716
715
var borders = $ . datepicker . _getBorders ( inst . dpDiv ) ;
717
716
instActive = inst ; // for delegate hover events
718
717
inst . dpDiv . empty ( ) . append ( this . _generateHTML ( inst ) ) ;
@@ -802,10 +801,10 @@ $.extend(Datepicker.prototype, {
802
801
if ( this . _datepickerShowing ) {
803
802
var showAnim = this . _get ( inst , 'showAnim' ) ;
804
803
var duration = this . _get ( inst , 'duration' ) ;
805
- var self = this ;
804
+ var that = this ;
806
805
var postProcess = function ( ) {
807
806
$ . datepicker . _tidyDialog ( inst ) ;
808
- self . _curInst = null ;
807
+ that . _curInst = null ;
809
808
} ;
810
809
811
810
// DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed
You can’t perform that action at this time.
0 commit comments