mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-08 15:00:59 +00:00
Merge pull request #621 from vshih/master
Fix tab event selector in tabs JS docs example
This commit is contained in:
commit
18d2a879ae
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue