diff options
Diffstat (limited to 'js/tests/unit/popover.js')
-rw-r--r-- | js/tests/unit/popover.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/popover.js b/js/tests/unit/popover.js index c9f7d63a76..a57c787b80 100644 --- a/js/tests/unit/popover.js +++ b/js/tests/unit/popover.js @@ -97,7 +97,7 @@ $(function () { $('#qunit-fixture').empty() }) - test("should respect custom classes", function() { + test("should respect custom classes", function () { $.support.transition = false var popover = $('<a href="#">@fat</a>') .appendTo('#qunit-fixture') @@ -118,7 +118,7 @@ $(function () { }) test("should destroy popover", function () { - var popover = $('<div/>').popover({trigger: 'hover'}).on('click.foo', function(){}) + var popover = $('<div/>').popover({trigger: 'hover'}).on('click.foo', function (){}) ok(popover.data('bs.popover'), 'popover has data') ok($._data(popover[0], 'events').mouseover && $._data(popover[0], 'events').mouseout, 'popover has hover event') ok($._data(popover[0], 'events').click[0].namespace == 'foo', 'popover has extra click.foo event') |