diff options
author | XhmikosR <xhmikosr@gmail.com> | 2020-03-09 16:37:46 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2020-03-18 21:59:27 +0300 |
commit | 018a94c9c1766c2f191d98f14d8a780882d671ae (patch) | |
tree | c4cc4e590358ec01b4b090fe35cbf515865e9d05 /js | |
parent | 47aef7b2c6f4570443a16f8db302586a7ce548af (diff) |
Remove Internet Explorer leftovers
Diffstat (limited to 'js')
-rw-r--r-- | js/tests/unit/modal.spec.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/js/tests/unit/modal.spec.js b/js/tests/unit/modal.spec.js index b4923ab3f4..62d0835ee9 100644 --- a/js/tests/unit/modal.spec.js +++ b/js/tests/unit/modal.spec.js @@ -653,7 +653,6 @@ describe('Modal', () => { it('should enforce focus', done => { fixtureEl.innerHTML = '<div class="modal"><div class="modal-dialog" /></div>' - const isIE11 = Boolean(window.MSInputMethodContext) && Boolean(document.documentMode) const modalEl = fixtureEl.querySelector('.modal') const modal = new Modal(modalEl) @@ -668,11 +667,6 @@ describe('Modal', () => { modalEl.addEventListener('shown.bs.modal', () => { expect(modal._enforceFocus).toHaveBeenCalled() - if (isIE11) { - done() - return - } - spyOn(modal._element, 'focus') document.addEventListener('focusin', focusInListener) |