Skip to content

Commit 18d2a87

Browse files
committed
Merge pull request twbs#621 from vshih/master
Fix tab event selector in tabs JS docs example
2 parents da4390e + 638211b commit 18d2a87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/javascript.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ <h3>Events</h3>
425425
</table>
426426

427427
<pre class="prettyprint linenums">
428-
$('#.tabs').bind('change', function (e) {
428+
$('.tabs a').bind('change', function (e) {
429429
e.target // activated tab
430430
e.relatedTarget // previous tab
431431
})</pre>

0 commit comments

Comments
 (0)