0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-20 17:54:23 +01:00

Merge pull request #621 from vshih/master

Fix tab event selector in tabs JS docs example
This commit is contained in:
Mark Otto 2011-11-17 00:40:42 -08:00
commit 18d2a879ae

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>