We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a06a031 commit 2d641afCopy full SHA for 2d641af
jquery-ui-timepicker-addon.js
@@ -154,7 +154,7 @@
154
// generate and inject html for timepicker into ui datepicker
155
//########################################################################
156
injectTimePicker: function(dp_inst, tp_inst) {
157
- var $dp = $('#' + $.datepicker._mainDivId);
+ var $dp = dp_inst.dpDiv;
158
var opts = tp_inst.defaults;
159
160
// Added by Peter Medeiros:
@@ -227,8 +227,9 @@
227
tp_inst.onTimeChange(dp_inst, tp_inst);
228
}
229
});
230
-
+
231
$dp.find('.ui-datepicker-calendar').after($tp);
232
233
tp_inst.$timeObj = $('#ui_tpicker_time_'+ dp_inst.id);
234
235
if (dp_inst !== null) {
0 commit comments