You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
//move focus to specified element if available, or else to body
if (elementToReceiveFocus && elementToReceiveFocus.focus) {
elementToReceiveFocus.focus();
} else {
body.focus();
}
So body doesn't support .focus() method in IE, because it is a jqLite object, not DOM element.
It seems eq(0) before that does nothing in case of jqLite.
The text was updated successfully, but these errors were encountered:
This error happens in IE11 if I try to do $uibModalInstance.dismiss() when using only jqLite (without jQuery):
at removeModalWindow (http://localhost:8000/bower_components/angular-bootstrap/ui-bootstrap-tpls.js:3781:11)
at $modalStack.dismiss (http://localhost:8000/bower_components/angular-bootstrap/ui-bootstrap-tpls.js:3962:11)
at modalInstance.dismiss (http://localhost:8000/bower_components/angular-bootstrap/ui-bootstrap-tpls.js:4083:17)
This is caused by the following line of code:
So body doesn't support .focus() method in IE, because it is a jqLite object, not DOM element.
It seems eq(0) before that does nothing in case of jqLite.
The text was updated successfully, but these errors were encountered: