Skip to content

Commit

Permalink
Update jquery.ui.timepicker.js
Browse files Browse the repository at this point in the history
fixing colspan to columns count of first row in table
  • Loading branch information
fglueck authored Dec 18, 2019
1 parent b4ec34d commit 5b06f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.ui.timepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@


if (showButtonPanel) {
var buttonPanel = '<tr><td colspan="3"><div class="ui-timepicker-buttonpane ui-widget-content">';
var buttonPanel = '<tr><td colspan="2"><div class="ui-timepicker-buttonpane ui-widget-content">';
if (showNowButton) {
buttonPanel += '<button type="button" class="ui-timepicker-now ui-state-default ui-corner-all" '
+ ' data-timepicker-instance-id="#' + inst.id.replace(/\\\\/g,"\\") + '" >'
Expand Down

0 comments on commit 5b06f3d

Please sign in to comment.