1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-17 19:06:40 +02: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

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>