Permalink
Browse files

Merge pull request #621 from vshih/master

Fix tab event selector in tabs JS docs example
  • Loading branch information...
2 parents da4390e + 638211b commit 18d2a879ae3547060a4777d4d181f7b6c8aa3b19 @mdo mdo committed Nov 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/javascript.html
View
2 docs/javascript.html
@@ -425,7 +425,7 @@
</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>

0 comments on commit 18d2a87

Please sign in to comment.