Skip to content

Commit 367da95

Browse files
committed
Datepicker: modified a catch variable to no longer mask an existing variable in scope. Fixed #8138 - datepicker: IE8 does not create a new scope for catch blocks and will cause
1 parent b6e1f25 commit 367da95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/jquery.ui.datepicker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,8 @@ $.extend(Datepicker.prototype, {
620620
$.datepicker._updateDatepicker(inst);
621621
}
622622
}
623-
catch (event) {
624-
$.datepicker.log(event);
623+
catch (err) {
624+
$.datepicker.log(err);
625625
}
626626
}
627627
return true;

0 commit comments

Comments
 (0)