diff options
author | Trent Richardson <trentdrichardson@gmail.com> | 2012-09-13 08:50:30 -0400 |
---|---|---|
committer | Trent Richardson <trentdrichardson@gmail.com> | 2012-09-13 08:50:30 -0400 |
commit | 123d6e0e3c0745643c4f7a9c972c5c994096f26d (patch) | |
tree | aee2bd12a8ed33f6eb284d2367dc1257000097ef | |
parent | d00fb8cc9eaf401c9bc8217978b57caa48aca608 (diff) | |
download | jQuery-Timepicker-Addon-123d6e0e3c0745643c4f7a9c972c5c994096f26d.zip jQuery-Timepicker-Addon-123d6e0e3c0745643c4f7a9c972c5c994096f26d.tar.gz jQuery-Timepicker-Addon-123d6e0e3c0745643c4f7a9c972c5c994096f26d.tar.bz2 |
Doc updates
-rw-r--r-- | index.html | 4 | ||||
-rw-r--r-- | jquery-ui-timepicker-addon.js | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -130,7 +130,7 @@ <div id="tp-options"> <h2>Options</h2> - <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> + <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> <h3>Localization Options</h3> <dl class="defs"> @@ -150,7 +150,7 @@ <dd><em>Default: ['PM', 'P'], A Localization Setting</em> - Array of strings to try and parse against to determine PM.</dd> <dt>timeFormat</dt> - <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> + <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> <dt>timeSuffix</dt> <dd><em>Default: "", A Localization Setting</em> - String to place after the formatted time.</dd> diff --git a/jquery-ui-timepicker-addon.js b/jquery-ui-timepicker-addon.js index d94d557..f4de0f5 100644 --- a/jquery-ui-timepicker-addon.js +++ b/jquery-ui-timepicker-addon.js @@ -18,7 +18,7 @@ * .ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; } */ -/*jslint evil: true, white: true, undef: false, nomen: true */ +/*jslint evil: true, white: false, undef: false, nomen: false, onevar: false */ (function($) { @@ -912,7 +912,7 @@ $.fn.extend({ var tmp_args = Array.prototype.slice.call(arguments); if (typeof o == 'object') { tmp_args[0] = $.extend(o, { timeOnly: true }); } - + return $(this).each(function() { $.fn.datetimepicker.apply($(this), tmp_args); }); |