diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/tests/unit/bootstrap-popover.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/unit/bootstrap-popover.js b/js/tests/unit/bootstrap-popover.js index 1331e5d3d2..6a5f0bdcfe 100644 --- a/js/tests/unit/bootstrap-popover.js +++ b/js/tests/unit/bootstrap-popover.js @@ -95,7 +95,7 @@ $(function () { var popover = $('<div/>').popover({trigger: 'hover'}).on('click.foo', function(){}) ok(popover.data('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') + ok($._data(popover[0], 'events').click[0].namespace == 'foo', 'popover has extra click.foo event') popover.popover('show') popover.popover('destroy') ok(!popover.hasClass('in'), 'popover is hidden') |