Skip to content

Commit

Permalink
Fixes tab event selector in tabs example
Browse files Browse the repository at this point in the history
  • Loading branch information
Vic committed Nov 12, 2011
1 parent 1f51ce0 commit 638211b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/javascript.html
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ <h3>Events</h3>
</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>
Expand Down

0 comments on commit 638211b

Please sign in to comment.