diff options
-rw-r--r-- | index.html | 5 | ||||
-rw-r--r-- | jquery-ui-timepicker-addon.js | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -16,7 +16,7 @@ h1,h2,h3{ margin: 10px 0; } h1{} h2{ color: #f66; } - h3{ color: #7b94b2; } + h3{ color: #6b84a2; } p{ margin: 10px 0; } a{ color: #7b94b2; } ul,ol{ margin: 10px 0 10px 40px; } @@ -114,6 +114,9 @@ <li>Timepicker</li> </ol> + <h3>Highly Recommended</h3> + <p><a href="http://trentrichardson.com" title="Subscribe to TrentRichardson.com via email">Subscribe to my blog via email</a>. I post an article for nearly every timepicker update, so you know when a new one is released.</p> + <h3>Version</h3> <p>Version 1.0.3</p> diff --git a/jquery-ui-timepicker-addon.js b/jquery-ui-timepicker-addon.js index d6927bc..998a722 100644 --- a/jquery-ui-timepicker-addon.js +++ b/jquery-ui-timepicker-addon.js @@ -867,7 +867,7 @@ * bind to sliders slidestop, and grid click. */ _onSelectHandler: function() { - var onSelect = this._defaults.onSelect; + var onSelect = this._defaults.onSelect || this.inst.settings.onSelect; var inputEl = this.$input ? this.$input[0] : null; if (onSelect && inputEl) { onSelect.apply(inputEl, [this.formattedDateTime, this]); |