Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2017-10-04 15:03:06 +0300
committerGitHub <noreply@github.com>2017-10-04 15:03:06 +0300
commitbe9e6f3638b00c0c79c6fb06a83f6b07edb865c0 (patch)
tree4455010cdddbb1a20787e31cfcf0ae5036507d9b /js
parentef2da793e84e5e0feff7fd81655e3656565e639e (diff)
Update modal.js
Diffstat (limited to '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 d55a552ade..e081a6dc25 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')
})
})