aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2017-11-07 14:13:52 +0200
committerGitHub <[email protected]>2017-11-07 14:13:52 +0200
commitfc9967e17537777ff98faff357876e643d15ba8c (patch)
treed1faccc8bbb875f8ef1ec4a40b260f3f6df5034b
parent79d6b574cc0946889eb2ef23c765bab50c2a6d60 (diff)
downloadbootstrap-fc9967e17537777ff98faff357876e643d15ba8c.tar.xz
bootstrap-fc9967e17537777ff98faff357876e643d15ba8c.zip
Fix test failure with jQuery 1.9.1 (#24706)
-rw-r--r--js/tests/unit/button.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/unit/button.js b/js/tests/unit/button.js
index e2a51bb4d..54a434d84 100644
--- a/js/tests/unit/button.js
+++ b/js/tests/unit/button.js
@@ -158,7 +158,7 @@ $(function () {
QUnit.test('should handle disabled attribute on non-button elements', function (assert) {
assert.expect(2)
- var groupHTML = ' <div class="btn-group disabled" data-toggle="buttons" aria-disabled="true" disabled>'
+ var groupHTML = '<div class="btn-group disabled" data-toggle="buttons" aria-disabled="true" disabled>'
+ '<label class="btn btn-danger disabled" aria-disabled="true" disabled>'
+ '<input type="checkbox" aria-disabled="true" autocomplete="off" disabled class="disabled"/>'
+ '</label>'