2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Allow us to run our unit test on differents jquery version

This commit is contained in:
Johann-S
2017-11-10 11:25:47 +01:00
committed by XhmikosR
parent cdab56d940
commit e8ba37139f
6 changed files with 1058 additions and 203 deletions
+2
View File
@@ -29,6 +29,8 @@ $(function () {
$.fn.bootstrapModal = $.fn.modal.noConflict()
},
afterEach: function () {
$('.modal-backdrop, #modal-test').remove()
$(document.body).removeClass('modal-open')
$.fn.modal = $.fn.bootstrapModal
delete $.fn.bootstrapModal
}