0
0
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:
Vic 2011-11-12 13:18:08 -08:00
parent 1f51ce058b
commit 638211b896

View File

@ -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>