From: Mark Otto Date: Thu, 23 May 2013 06:17:39 +0000 (-0700) Subject: fixes #6898: typo in modal test X-Git-Tag: v3.0.0-rc1~321 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=432d417ade569cce1a8a4a2e5fbbd32b57170891;p=thirdparty%2Fbootstrap.git fixes #6898: typo in modal test --- diff --git a/js/tests/unit/modal.js b/js/tests/unit/modal.js index 7ee47be38b..9187b5e23a 100644 --- a/js/tests/unit/modal.js +++ b/js/tests/unit/modal.js @@ -28,7 +28,7 @@ $(function () { $.support.transition = false $("") .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 () { $("") .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() {