diff --git a/jquery.mobile.datepicker.js b/jquery.mobile.datepicker.js index 21f97e8..4a2a599 100644 --- a/jquery.mobile.datepicker.js +++ b/jquery.mobile.datepicker.js @@ -92,7 +92,7 @@ $.widget("mobile.date",{ calendar = this.element.datepicker( "widget" ); } - this.baseWidget = ( !this.options.inline )? this.element: this.calendar; + this.baseWidget = ( !this.options.inline )? this.element: calendar; if ( this.options.inline ) { this._on({