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:
commit
18d2a879ae
@ -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