diff options
author | XhmikosR <xhmikosr@gmail.com> | 2017-10-04 15:03:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-04 15:03:06 +0300 |
commit | be9e6f3638b00c0c79c6fb06a83f6b07edb865c0 (patch) | |
tree | 4455010cdddbb1a20787e31cfcf0ae5036507d9b /js | |
parent | ef2da793e84e5e0feff7fd81655e3656565e639e (diff) |
Update modal.js
Diffstat (limited to 'js')
-rw-r--r-- | js/tests/unit/modal.js | 5 |
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') }) }) |