mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-18 12:39:41 +03:00
Fixes tab event selector in tabs example
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user