]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update modal.js 24240/head
authorXhmikosR <xhmikosr@gmail.com>
Wed, 4 Oct 2017 12:03:06 +0000 (15:03 +0300)
committerGitHub <noreply@github.com>
Wed, 4 Oct 2017 12:03:06 +0000 (15:03 +0300)
js/tests/unit/modal.js

index d55a552ade4549d5a1a38e1d830145cc78db020c..e081a6dc258632d8540e0c17334cc4155e82a27f 100644 (file)
@@ -684,6 +684,9 @@ $(function () {
     }).on('hidden.bs.modal', function () {
       assert.strictEqual(count, 1, 'show() runs only once')
       done()
-    }).bootstrapModal('show').bootstrapModal('show').bootstrapModal('hide')
+    })
+      .bootstrapModal('show')
+      .bootstrapModal('show')
+      .bootstrapModal('hide')
   })
 })