Skip to content

Commit

Permalink
Merge pull request twbs#621 from vshih/master
Browse files Browse the repository at this point in the history
Fix tab event selector in tabs JS docs example
  • Loading branch information
mdo committed Nov 17, 2011
2 parents da4390e + 638211b commit 18d2a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/javascript.html
Expand Up @@ -425,7 +425,7 @@ <h3>Events</h3>
</table> </table>


<pre class="prettyprint linenums"> <pre class="prettyprint linenums">
$('#.tabs').bind('change', function (e) { $('.tabs a').bind('change', function (e) {
e.target // activated tab e.target // activated tab
e.relatedTarget // previous tab e.relatedTarget // previous tab
})</pre> })</pre>
Expand Down

0 comments on commit 18d2a87

Please sign in to comment.