Permalink
Browse files

Setting minTime and maxTime results in 1 dropdown option

Closes #351
  • Loading branch information...
1 parent f889a8d commit c38d3e354871f8c65dfae8a0bf4c93fa9b43e7ca @jonthornton committed Feb 11, 2015
Showing with 8 additions and 8 deletions.
  1. +1 −1 bower.json
  2. +2 −2 jquery.timepicker.js
  3. +3 −3 jquery.timepicker.min.js
  4. +1 −1 jt.timepicker.jquery.json
  5. +1 −1 package.json
View
@@ -1,6 +1,6 @@
{
"name" : "jt.timepicker",
- "version" : "1.5.3",
+ "version" : "1.6.0",
"description" : "A jQuery timepicker plugin inspired by Google Calendar.",
"homepage" : "http://jonthornton.github.com/jquery-timepicker",
"main" : [ "./jquery.timepicker.js", "./jquery.timepicker.css" ],
@@ -1,5 +1,5 @@
/************************
-jquery-timepicker v1.5.3
+jquery-timepicker v1.6.0
http://jonthornton.github.com/jquery-timepicker/
requires jQuery 1.7+
@@ -442,7 +442,7 @@ requires jQuery 1.7+
var start = (settings.minTime !== null) ? settings.minTime : 0;
var end = (settings.maxTime !== null) ? settings.maxTime : (start + _ONE_DAY - 1);
- if (end <= start) {
+ if (end < start) {
// make sure the end time is greater than start time, otherwise there will be no list to show
end += _ONE_DAY;
}
Oops, something went wrong.
@@ -1,6 +1,6 @@
{
"name": "jt.timepicker",
- "version": "1.5.3",
+ "version": "1.6.0",
"title": "jquery-timepicker",
"description": "A jQuery timepicker plugin inspired by Google Calendar. It supports both mouse and keyboard navigation.",
"author": {
View
@@ -1,6 +1,6 @@
{
"name": "timepicker",
- "version": "1.5.3",
+ "version": "1.6.0",
"title": "jquery-timepicker",
"author": {
"name": "Jon Thornton",

0 comments on commit c38d3e3

Please sign in to comment.