diff options
author | Thomas Park <thomas@thomaspark.me> | 2014-07-02 02:41:31 -0400 |
---|---|---|
committer | Thomas Park <thomas@thomaspark.me> | 2014-07-02 02:41:31 -0400 |
commit | 5dec323eae2a313223459c24aaa70e06a318a1d9 (patch) | |
tree | 833dcc869f13906bb24eba217493598125e18fa1 /tests/components.html | |
parent | 81d021b33027f571f4200ba7170e3111e919e2d3 (diff) |
fix tooltip and popover in test
Diffstat (limited to 'tests/components.html')
-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>", |