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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user