We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d17c3f commit dd43a0fCopy full SHA for dd43a0f
src/dateinput/dateinput.js
@@ -275,6 +275,10 @@
275
currMonth = date.getMonth();
276
currDay = date.getDate();
277
278
+ // focus the input after selection (doesn't work in IE)
279
+ if (e.type == "click" && !$.browser.msie) {
280
+ input.focus();
281
+ }
282
283
// change
284
e = e || $.Event("api");
@@ -638,9 +642,7 @@
638
642
if (e.isDefaultPrevented()) { return; }
639
643
640
644
$(document).unbind("click.d").unbind("keydown.d");
641
- input.focus();
- input.select();
-
645
+
646
// do the hide
647
root.hide();
648
opened = false;
0 commit comments