mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 18:54:30 +01:00
Merge pull request #621 from vshih/master
Fix tab event selector in tabs JS docs example
This commit is contained in:
commit
18d2a879ae
@ -425,7 +425,7 @@ $('#my-modal').bind('hidden', function () {
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
$('#.tabs').bind('change', function (e) {
|
$('.tabs a').bind('change', function (e) {
|
||||||
e.target // activated tab
|
e.target // activated tab
|
||||||
e.relatedTarget // previous tab
|
e.relatedTarget // previous tab
|
||||||
})</pre>
|
})</pre>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user