Fixes tab event selector in tabs example
This commit is contained in:
parent
1f51ce058b
commit
638211b896
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…
Add table
Add a link
Reference in a new issue