From 5d6e1d742def19a730da188f0269f938928e503b Mon Sep 17 00:00:00 2001 From: Alex Kalicki Date: Thu, 26 Sep 2013 17:49:03 -0400 Subject: [PATCH] Resolves #10726 - clarifies javascript tab markup in docs --- javascript.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript.html b/javascript.html index 5bac259e28..ff07387fd6 100644 --- a/javascript.html +++ b/javascript.html @@ -713,7 +713,7 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed) {% endhighlight %}

Markup

-

You can activate a tab or pill navigation without writing any JavaScript by simply specifying data-toggle="tab" or data-toggle="pill" on an element. Adding the nav and nav-tabs classes to the tab ul will apply the Bootstrap tab styling.

+

You can activate a tab or pill navigation without writing any JavaScript by simply specifying data-toggle="tab" or data-toggle="pill" on an element. Adding the nav and nav-tabs classes to the tab ul will apply the Bootstrap tab styling, while adding the nav and nav-pills classes will apply pill styling.

{% highlight html %}