Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Polished timepicker if numberOfMonths > 1

  • Loading branch information...
commit ee2821c91da150bed9e07fd525c508951f3b62b2 1 parent f137394
Trent authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 jquery-ui-timepicker-addon.js
View
7 jquery-ui-timepicker-addon.js
@@ -449,7 +449,12 @@
);
}
- $dp.find('.ui-datepicker-calendar:first').after($tp);
+ if (this.defaults.showButtonPanel) {
+ $dp.find('.ui-datepicker-buttonpane').before($tp);
+ }
+ else {
+ $dp.append($tp);
+ }
tp_inst.$timeObj = $('#ui_tpicker_time_' + dp_inst.id);
Please sign in to comment.
Something went wrong with that request. Please try again.