Skip to content

Commit

Permalink
fix tooltip and popover in test
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspark committed Jul 2, 2014
1 parent 81d021b commit 5dec323
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/components.html
Original file line number Diff line number Diff line change
Expand Up @@ -2732,7 +2732,7 @@ <h4>Text in a modal</h4>
<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>
Expand Down Expand Up @@ -2791,7 +2791,9 @@ <h1 id="popovers">Popovers</h1>
<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>",
Expand Down

0 comments on commit 5dec323

Please sign in to comment.