]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #5352: update docs messaging for disable nav links
authorMark Otto <markotto@twitter.com>
Tue, 2 Oct 2012 22:10:22 +0000 (15:10 -0700)
committerMark Otto <markotto@twitter.com>
Tue, 2 Oct 2012 22:10:22 +0000 (15:10 -0700)
docs/components.html
docs/templates/pages/components.mustache

index 7623cda4b5a870a19c50df3581ca48260325555a..69089635db0dc12361e6e244f9ad4a0fa9fcfd0f 100644 (file)
 </pre>
 
           <h3>Disabled state</h3>
-          <p>For any nav component (tabs, pills, or list), add <code>.disabled</code> for <strong>gray links and no hover effects</strong>. Links will remain clickable, however, unless custom JavaScript is implemented to prevent those clicks.</p>
+          <p>For any nav component (tabs, pills, or list), add <code>.disabled</code> for <strong>gray links and no hover effects</strong>. Links will remain clickable, however, unless you remove the <code>href</code> attribute. Alternatively, you could implement custom JavaScript to prevent those clicks.</p>
           <div class="bs-docs-example">
             <ul class="nav nav-pills">
               <li><a href="#">Clickable link</a></li>
index 6cb5aa69ecc900e6110f9f1940c488853a4adeb2..5351d7fd9385232736692cb88c5d693afab52b56 100644 (file)
 </pre>
 
           <h3>{{_i}}Disabled state{{/i}}</h3>
-          <p>{{_i}}For any nav component (tabs, pills, or list), add <code>.disabled</code> for <strong>gray links and no hover effects</strong>. Links will remain clickable, however, unless custom JavaScript is implemented to prevent those clicks.{{/i}}</p>
+          <p>{{_i}}For any nav component (tabs, pills, or list), add <code>.disabled</code> for <strong>gray links and no hover effects</strong>. Links will remain clickable, however, unless you remove the <code>href</code> attribute. Alternatively, you could implement custom JavaScript to prevent those clicks.{{/i}}</p>
           <div class="bs-docs-example">
             <ul class="nav nav-pills">
               <li><a href="#">{{_i}}Clickable link{{/i}}</a></li>