mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-27 22:09:04 +02:00
Rewritten modal without jquery (#23955)
* Trigger jquery events if available in event handler * Rewritten modal without jquery
This commit is contained in:
committed by
XhmikosR
parent
9f9712b98c
commit
33211eefdf
@@ -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')
|
||||
|
||||
|
Reference in New Issue
Block a user