aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2017-10-04 15:03:06 +0300
committerGitHub <[email protected]>2017-10-04 15:03:06 +0300
commitbe9e6f3638b00c0c79c6fb06a83f6b07edb865c0 (patch)
tree4455010cdddbb1a20787e31cfcf0ae5036507d9b
parentef2da793e84e5e0feff7fd81655e3656565e639e (diff)
downloadbootstrap-be9e6f3638b00c0c79c6fb06a83f6b07edb865c0.tar.xz
bootstrap-be9e6f3638b00c0c79c6fb06a83f6b07edb865c0.zip
Update modal.js
-rw-r--r--js/tests/unit/modal.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/tests/unit/modal.js b/js/tests/unit/modal.js
index d55a552ad..e081a6dc2 100644
--- a/js/tests/unit/modal.js
+++ b/js/tests/unit/modal.js
@@ -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')
})
})