diff options
-rw-r--r-- | tests/components.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/components.html b/tests/components.html index b41c9b63..5d9b7160 100644 --- a/tests/components.html +++ b/tests/components.html @@ -2732,7 +2732,7 @@ <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p> <h4>Popover in a modal</h4> - <p>This <a href="#" role="button" class="btn btn-default popover-test" title="" data-content="And here's some amazing content. It's very engaging. right?" data-original-title="A Title">button</a> should trigger a popover on click.</p> + <p>This <a role="button" class="btn btn-default popover-test" title="" data-content="And here's some amazing content. It's very engaging. right?" data-original-title="A Title">button</a> should trigger a popover on click.</p> <h4>Tooltips in a modal</h4> <p><a href="#" class="tooltip-test" title="" data-original-title="Tooltip">This link</a> and <a href="#" class="tooltip-test" title="" data-original-title="Tooltip">that link</a> should have tooltips on hover.</p> @@ -2791,7 +2791,9 @@ <script src="../assets/js/bootswatch.js"></script> <script> - $('[data-toggle=popover]').popover(); + $('[data-toggle=popover], .popover-test').popover(); + + $('.tooltip-test').tooltip(); $.get("http://api.bootswatch.com/3/", function (data) { var menuTemplate = "<div id='menu'><select>{{#.}}<option data-description='{{description}}'>{{name}}</option>{{/.}}</select></div>", |