From e44cc3fed9a3ae04ba7852a3c7e56838960962a0 Mon Sep 17 00:00:00 2001 From: Mario Grimaldi Date: Sun, 12 Apr 2015 21:59:08 +0200 Subject: [PATCH] Using the local calendar variable instead of the undefined this.calendar reference. --- jquery.mobile.datepicker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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({