mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
js/tests/unit/modal.js: Fix typo
[ci skip]
This commit is contained in:
parent
71a0bfee8e
commit
40996725ce
@ -169,7 +169,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…
x
Reference in New Issue
Block a user