diff options
| author | XhmikosR <[email protected]> | 2017-10-04 15:03:06 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-10-04 15:03:06 +0300 |
| commit | be9e6f3638b00c0c79c6fb06a83f6b07edb865c0 (patch) | |
| tree | 4455010cdddbb1a20787e31cfcf0ae5036507d9b | |
| parent | ef2da793e84e5e0feff7fd81655e3656565e639e (diff) | |
| download | bootstrap-be9e6f3638b00c0c79c6fb06a83f6b07edb865c0.tar.xz bootstrap-be9e6f3638b00c0c79c6fb06a83f6b07edb865c0.zip | |
Update modal.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 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') }) }) |
