Commit 18d2a879 authored by Mark Otto's avatar Mark Otto

Merge pull request #621 from vshih/master

Fix tab event selector in tabs JS docs example
parents da4390ee 638211b8
...@@ -425,7 +425,7 @@ $('#my-modal').bind('hidden', function () { ...@@ -425,7 +425,7 @@ $('#my-modal').bind('hidden', function () {
</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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment