Skip to content

Commit 123d6e0

Browse files
Doc updates
1 parent d00fb8c commit 123d6e0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ <h3>Version</h3>
130130
<div id="tp-options">
131131
<h2>Options</h2>
132132

133-
<p>The timepicker does inherit all options from datepicker, however there are many options that are shared by them both and many timepicker only options:</p>
133+
<p>The timepicker does inherit all options from datepicker. However, there are many options that are shared by them both, and many timepicker only options:</p>
134134

135135
<h3>Localization Options</h3>
136136
<dl class="defs">
@@ -150,7 +150,7 @@ <h3>Localization Options</h3>
150150
<dd><em>Default: ['PM', 'P'], A Localization Setting</em> - Array of strings to try and parse against to determine PM.</dd>
151151

152152
<dt>timeFormat</dt>
153-
<dd><em>Default: "hh:mm tt", A Localization Setting</em> - String of format tokens to be replaced with the time. <a href="#tp-formatting" title="Formatting">See Formatting</a>.</dd>
153+
<dd><em>Default: "hh:mm tt", A Localization Setting</em> - String of format tokens to be replaced with the time. <a href="#tp-formatting" title="Formatting" onclick="$('#tabs').tabs('select',2);">See Formatting</a>.</dd>
154154

155155
<dt>timeSuffix</dt>
156156
<dd><em>Default: "", A Localization Setting</em> - String to place after the formatted time.</dd>

jquery-ui-timepicker-addon.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* .ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
1919
*/
2020

21-
/*jslint evil: true, white: true, undef: false, nomen: true */
21+
/*jslint evil: true, white: false, undef: false, nomen: false, onevar: false */
2222

2323
(function($) {
2424

@@ -912,7 +912,7 @@ $.fn.extend({
912912
var tmp_args = Array.prototype.slice.call(arguments);
913913

914914
if (typeof o == 'object') { tmp_args[0] = $.extend(o, { timeOnly: true }); }
915-
915+
916916
return $(this).each(function() {
917917
$.fn.datetimepicker.apply($(this), tmp_args);
918918
});

0 commit comments

Comments
 (0)