mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
fix bug in tab show/shown relatedTarget unit test
This commit is contained in:
parent
b56d97f210
commit
df73535a2d
1 changed files with 1 additions and 1 deletions
|
@ -93,10 +93,10 @@ $(function () {
|
||||||
.find('ul > li:last a')
|
.find('ul > li:last a')
|
||||||
.on('show.bs.tab', function (e) {
|
.on('show.bs.tab', function (e) {
|
||||||
equal(e.relatedTarget.hash, '#1-1', 'references correct element as relatedTarget')
|
equal(e.relatedTarget.hash, '#1-1', 'references correct element as relatedTarget')
|
||||||
done()
|
|
||||||
})
|
})
|
||||||
.on('shown.bs.tab', function (e) {
|
.on('shown.bs.tab', function (e) {
|
||||||
equal(e.relatedTarget.hash, '#1-1', 'references correct element as relatedTarget')
|
equal(e.relatedTarget.hash, '#1-1', 'references correct element as relatedTarget')
|
||||||
|
done()
|
||||||
})
|
})
|
||||||
.bootstrapTab('show')
|
.bootstrapTab('show')
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue