mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-15 15:29:22 +01:00
Fixes tab event selector in tabs example
This commit is contained in:
parent
1f51ce058b
commit
638211b896
@ -425,7 +425,7 @@ $('#my-modal').bind('hidden', function () {
|
||||
</table>
|
||||
|
||||
<pre class="prettyprint linenums">
|
||||
$('#.tabs').bind('change', function (e) {
|
||||
$('.tabs a').bind('change', function (e) {
|
||||
e.target // activated tab
|
||||
e.relatedTarget // previous tab
|
||||
})</pre>
|
||||
|
Loading…
x
Reference in New Issue
Block a user