]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes tab event selector in tabs example 621/head
authorVic <vshih@yahoo.com>
Sat, 12 Nov 2011 21:18:08 +0000 (13:18 -0800)
committerVic <vshih@yahoo.com>
Sat, 12 Nov 2011 21:18:08 +0000 (13:18 -0800)
docs/javascript.html

index 858345d727ea23164b08345bdaa340978c55e7eb..055be36c8850fc0cfa4e8ba86e84ef509c7b65c0 100644 (file)
@@ -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>