Add classes to label grid tables
This commit is contained in:
parent
ae64213f33
commit
17c18ac6c2
4
jquery-ui-timepicker-addon.js
vendored
4
jquery-ui-timepicker-addon.js
vendored
|
@ -289,7 +289,7 @@ $.extend(Timepicker.prototype, {
|
||||||
if (o.showHour && o.hourGrid > 0) {
|
if (o.showHour && o.hourGrid > 0) {
|
||||||
html += '<dd class="ui_tpicker_hour">' +
|
html += '<dd class="ui_tpicker_hour">' +
|
||||||
'<div id="ui_tpicker_hour_' + dp_id + '"' + ((o.showHour) ? '' : noDisplay) + '></div>' +
|
'<div id="ui_tpicker_hour_' + dp_id + '"' + ((o.showHour) ? '' : noDisplay) + '></div>' +
|
||||||
'<div style="padding-left: 1px"><table><tr>';
|
'<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>';
|
||||||
|
|
||||||
for (var h = o.hourMin; h <= hourMax; h += o.hourGrid) {
|
for (var h = o.hourMin; h <= hourMax; h += o.hourGrid) {
|
||||||
hourGridSize++;
|
hourGridSize++;
|
||||||
|
@ -315,7 +315,7 @@ $.extend(Timepicker.prototype, {
|
||||||
html += '<dd class="ui_tpicker_minute ui_tpicker_minute_' + o.minuteGrid + '">' +
|
html += '<dd class="ui_tpicker_minute ui_tpicker_minute_' + o.minuteGrid + '">' +
|
||||||
'<div id="ui_tpicker_minute_' + dp_id + '"' +
|
'<div id="ui_tpicker_minute_' + dp_id + '"' +
|
||||||
((o.showMinute) ? '' : noDisplay) + '></div>' +
|
((o.showMinute) ? '' : noDisplay) + '></div>' +
|
||||||
'<div style="padding-left: 1px"><table><tr>';
|
'<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>';
|
||||||
|
|
||||||
for (var m = o.minuteMin; m <= minMax; m += o.minuteGrid) {
|
for (var m = o.minuteMin; m <= minMax; m += o.minuteGrid) {
|
||||||
minuteGridSize++;
|
minuteGridSize++;
|
||||||
|
|
Loading…
Reference in a new issue