2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

fix(event-handler): remove the use of our event handler in unit test

This commit is contained in:
Johann-S
2018-06-07 22:21:31 +02:00
committed by XhmikosR
parent 2b78078779
commit 9313446274
9 changed files with 301 additions and 278 deletions
+2 -2
View File
@@ -665,7 +665,7 @@ $(function () {
method: 'offset'
})
} else if (type === 'data') {
EventHandler.trigger(window, 'load')
window.dispatchEvent(new Event('load'))
}
var $target = $('#div-' + type + 'm-2')
@@ -712,7 +712,7 @@ $(function () {
method: 'position'
})
} else if (type === 'data') {
EventHandler.trigger(window, 'load')
window.dispatchEvent(new Event('load'))
}
var $target = $('#div-' + type + 'm-2')