diff options
| author | Mark Otto <[email protected]> | 2013-05-22 23:17:39 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-05-22 23:17:39 -0700 |
| commit | 432d417ade569cce1a8a4a2e5fbbd32b57170891 (patch) | |
| tree | 72b60e6251f1237d5904b9e1e264617aa7c17bef | |
| parent | 9868d9403c303dcdab8919bbbd6295c2ef424a31 (diff) | |
| download | bootstrap-432d417ade569cce1a8a4a2e5fbbd32b57170891.tar.xz bootstrap-432d417ade569cce1a8a4a2e5fbbd32b57170891.zip | |
fixes #6898: typo in modal test
| -rw-r--r-- | js/tests/unit/modal.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tests/unit/modal.js b/js/tests/unit/modal.js index 7ee47be38..9187b5e23 100644 --- a/js/tests/unit/modal.js +++ b/js/tests/unit/modal.js @@ -28,7 +28,7 @@ $(function () { $.support.transition = false $("<div id='modal-test'></div>") .on("shown.bs.modal", function () { - ok($('#modal-test').length, 'modal insterted into dom') + ok($('#modal-test').length, 'modal inserted into dom') $(this).remove() start() }) @@ -71,7 +71,7 @@ $(function () { $("<div id='modal-test'></div>") .on("shown.bs.modal", function () { ok($('#modal-test').is(":visible"), 'modal visible') - ok($('#modal-test').length, 'modal insterted into dom') + ok($('#modal-test').length, 'modal inserted into dom') $(this).modal("hide") }) .on("hidden.bs.modal", function() { @@ -89,7 +89,7 @@ $(function () { div .on("shown.bs.modal", function () { ok($('#modal-test').is(":visible"), 'modal visible') - ok($('#modal-test').length, 'modal insterted into dom') + ok($('#modal-test').length, 'modal inserted into dom') div.modal("toggle") }) .on("hidden.bs.modal", function() { @@ -107,7 +107,7 @@ $(function () { div .on("shown.bs.modal", function () { ok($('#modal-test').is(":visible"), 'modal visible') - ok($('#modal-test').length, 'modal insterted into dom') + ok($('#modal-test').length, 'modal inserted into dom') div.find('.close').click() }) .on("hidden.bs.modal", function() { |
