Skip to content

Commit 3eed2b8

Browse files
committed
Update dateinput.js
This change is to update DateInput to be compatible with jQuery 1.9.1
1 parent 5b7000a commit 3eed2b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dateinput/dateinput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@
283283
currDay = date.getDate();
284284

285285
// focus the input after selection (doesn't work in IE)
286-
if (e.type == "click" && !$.browser.msie) {
286+
if (e.type == "click" && !/msie/.test(navigator.userAgent.toLowerCase())) {
287287
input.focus();
288288
}
289289

0 commit comments

Comments
 (0)