0
0
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:
Chris Rebert 2015-12-22 17:11:18 -07:00
parent 71a0bfee8e
commit 40996725ce

View File

@ -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 }))