Commit 80144d74 authored by Mark Otto's avatar Mark Otto
Browse files

Merge branch 'v4-dev' into v4-forms-cleanup

parents 325c1d4c 2cc75671
Showing with 1232 additions and 2137 deletions
+1232 -2137
This diff is collapsed.
This diff is collapsed.
...@@ -95,6 +95,8 @@ var Button = (function ($) { ...@@ -95,6 +95,8 @@ var Button = (function ($) {
input.checked = !$(this._element).hasClass(ClassName.ACTIVE); input.checked = !$(this._element).hasClass(ClassName.ACTIVE);
$(this._element).trigger('change'); $(this._element).trigger('change');
} }
input.focus();
} }
} else { } else {
this._element.setAttribute('aria-pressed', !$(this._element).hasClass(ClassName.ACTIVE)); this._element.setAttribute('aria-pressed', !$(this._element).hasClass(ClassName.ACTIVE));
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
...@@ -92,7 +92,10 @@ const Button = (($) => { ...@@ -92,7 +92,10 @@ const Button = (($) => {
input.checked = !$(this._element).hasClass(ClassName.ACTIVE) input.checked = !$(this._element).hasClass(ClassName.ACTIVE)
$(this._element).trigger('change') $(this._element).trigger('change')
} }
input.focus()
} }
} else { } else {
this._element.setAttribute('aria-pressed', this._element.setAttribute('aria-pressed',
!$(this._element).hasClass(ClassName.ACTIVE)) !$(this._element).hasClass(ClassName.ACTIVE))
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -11,9 +11,7 @@ ...@@ -11,9 +11,7 @@
<div class="container"> <div class="container">
<div class="page-header"> <h1>Alert <small>Bootstrap Visual Test</small></h1>
<h1>Alert <small>Bootstrap Visual Test</small></h1>
</div>
<div class="alert alert-warning fade in"> <div class="alert alert-warning fade in">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
......
This diff is collapsed.
This diff is collapsed.
...@@ -11,9 +11,7 @@ ...@@ -11,9 +11,7 @@
<div class="container"> <div class="container">
<div class="page-header"> <h1>Collapse <small>Bootstrap Visual Test</small></h1>
<h1>Collapse <small>Bootstrap Visual Test</small></h1>
</div>
<div class="panel-group" id="accordion"> <div class="panel-group" id="accordion">
<div class="panel panel-default"> <div class="panel panel-default">
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment