We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e30213f commit aeaf82dCopy full SHA for aeaf82d
jquery.timepicker.js
@@ -259,11 +259,24 @@
259
i.next();
260
break;
261
default:
262
- if (!widget.closed()) {
+ if (!i.options.showOnInput && !widget.closed()) {
263
i.close(true);
264
}
265
266
267
+ }).bind('keyup.timepicker', function(event) {
268
+ switch (event.which || event.keyCode) {
269
+ case widget.keyCode.ENTER:
270
+ case widget.keyCode.NUMPAD_ENTER:
271
+ case widget.keyCode.UP:
272
+ case widget.keyCode.DOWN:
273
+ break;
274
+ default:
275
+ if (i.options.showOnInput) {
276
+ i.open();
277
+ }
278
279
280
}).bind('focus.timepicker', function() {
281
i.open();
282
}).bind('blur.timepicker', function() {
0 commit comments