]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #6898: typo in modal test
authorMark Otto <otto@github.com>
Thu, 23 May 2013 06:17:39 +0000 (23:17 -0700)
committerMark Otto <otto@github.com>
Thu, 23 May 2013 06:17:39 +0000 (23:17 -0700)
js/tests/unit/modal.js

index 7ee47be38bec2256f2d60bf4ed21b12f0f18a917..9187b5e23a48cf9aa2d9fd2a3cdc9f25cce3bc0c 100644 (file)
@@ -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() {