2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

remove old references to jquery and some fixes

This commit is contained in:
Johann-S
2018-03-11 16:18:56 +01:00
committed by XhmikosR
parent 0263d1742c
commit 7eddee286e
14 changed files with 44 additions and 56 deletions
+2 -2
View File
@@ -279,14 +279,14 @@ $(function () {
})
.one('shown.bs.popover', function () {
assert.notEqual($('.popover').length, 0, 'popover was inserted')
$div.find('a').trigger('click')
EventHandler.trigger($div.find('a')[0], 'click')
})
.one('hidden.bs.popover', function () {
assert.strictEqual($('.popover').length, 0, 'popover was removed')
done()
})
$div.find('a').trigger('click')
EventHandler.trigger($div.find('a')[0], 'click')
})
QUnit.test('should detach popover content rather than removing it so that event handlers are left intact', function (assert) {