We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8579f2f commit 6df3ddcCopy full SHA for 6df3ddc
src/dateinput/dateinput.js
@@ -282,13 +282,14 @@
282
currMonth = date.getMonth();
283
currDay = date.getDate();
284
285
+ e || (e = $.Event("api"));
286
+
287
// focus the input after selection (doesn't work in IE)
288
if (e.type == "click" && !$.browser.msie) {
289
input.focus();
290
}
291
292
// beforeChange
- e = e || $.Event("api");
293
e.type = "beforeChange";
294
295
fire.trigger(e, [date]);
@@ -420,7 +421,7 @@
420
421
422
// month selector
423
monthSelector.unbind("change").change(function() {
- self.setValue(yearSelector.val(), $(this).val());
424
+ self.setValue(yearSelector.val(), $(this).val());
425
});
426
427
// year selector
0 commit comments