Minor whitespace fixes
This commit is contained in:
parent
689ba11c35
commit
4d6402ad97
4
jquery-ui-timepicker-addon.js
vendored
4
jquery-ui-timepicker-addon.js
vendored
|
@ -350,12 +350,10 @@ $.extend(Timepicker.prototype, {
|
|||
}
|
||||
});
|
||||
|
||||
|
||||
// Add grid functionality
|
||||
if (o.showHour && o.hourGrid > 0) {
|
||||
size = 100 * hourGridSize * o.hourGrid / (hourMax - o.hourMin);
|
||||
|
||||
|
||||
$tp.find(".ui_tpicker_hour table").css({
|
||||
width: size + "%",
|
||||
marginLeft: (size / (-2 * hourGridSize)) + "%",
|
||||
|
@ -383,7 +381,6 @@ $.extend(Timepicker.prototype, {
|
|||
});
|
||||
}
|
||||
|
||||
|
||||
if (o.showMinute && o.minuteGrid > 0) {
|
||||
size = 100 * minuteGridSize * o.minuteGrid / (minMax - o.minuteMin);
|
||||
$tp.find(".ui_tpicker_minute table").css({
|
||||
|
@ -546,7 +543,6 @@ $.fn.extend({
|
|||
//########################################################################
|
||||
// extend timepicker to datepicker
|
||||
//########################################################################
|
||||
|
||||
datetimepicker: function(o) {
|
||||
o = o || {};
|
||||
var $input = this,
|
||||
|
|
Loading…
Reference in a new issue