mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-26 09:10:24 +00:00
js/tests/unit/modal.js: Fix typo
[ci skip]
This commit is contained in:
parent
84b8a1999e
commit
96e9205009
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ $(function () {
|
||||||
var $div = $('<div id="modal-test"/>')
|
var $div = $('<div id="modal-test"/>')
|
||||||
$div
|
$div
|
||||||
.on('shown.bs.modal', function () {
|
.on('shown.bs.modal', function () {
|
||||||
assert.ok($('#modal-test').length, 'modal insterted into dom')
|
assert.ok($('#modal-test').length, 'modal inserted into dom')
|
||||||
assert.ok($('#modal-test').is(':visible'), 'modal visible')
|
assert.ok($('#modal-test').is(':visible'), 'modal visible')
|
||||||
$div.trigger($.Event('keydown', { which: 27 }))
|
$div.trigger($.Event('keydown', { which: 27 }))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue