diff options
| author | Alessandro Chitolina <[email protected]> | 2017-09-15 16:07:24 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-02-20 22:05:45 +0200 |
| commit | 33211eefdfb27eff7ba21886e16f2efdc0efa3e6 (patch) | |
| tree | f8f3f3342a6c2c2363448346debf52beb4954b21 /js/tests/unit/button.js | |
| parent | 9f9712b98c92678c709b2ad0adfa954e3c120911 (diff) | |
| download | bootstrap-33211eefdfb27eff7ba21886e16f2efdc0efa3e6.tar.xz bootstrap-33211eefdfb27eff7ba21886e16f2efdc0efa3e6.zip | |
Rewritten modal without jquery (#23955)
* Trigger jquery events if available in event handler
* Rewritten modal without jquery
Diffstat (limited to 'js/tests/unit/button.js')
| -rw-r--r-- | js/tests/unit/button.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/js/tests/unit/button.js b/js/tests/unit/button.js index fff6df5bc..c162e3a9f 100644 --- a/js/tests/unit/button.js +++ b/js/tests/unit/button.js @@ -107,17 +107,17 @@ $(function () { QUnit.test('should check for closest matching toggle', function (assert) { assert.expect(12) var groupHTML = - '<div class="btn-group" data-toggle="buttons">' - + ' <label class="btn btn-primary active">' - + ' <input type="radio" name="options" id="option1" checked="true"> Option 1' - + ' </label>' - + ' <label class="btn btn-primary">' - + ' <input type="radio" name="options" id="option2"> Option 2' - + ' </label>' - + ' <label class="btn btn-primary">' - + ' <input type="radio" name="options" id="option3"> Option 3' - + ' </label>' - + '</div>' + '<div class="btn-group" data-toggle="buttons">' + + ' <label class="btn btn-primary active">' + + ' <input type="radio" name="options" id="option1" checked="true"> Option 1' + + ' </label>' + + ' <label class="btn btn-primary">' + + ' <input type="radio" name="options" id="option2"> Option 2' + + ' </label>' + + ' <label class="btn btn-primary">' + + ' <input type="radio" name="options" id="option3"> Option 3' + + ' </label>' + + '</div>' var $group = $(groupHTML).appendTo('#qunit-fixture') |
