mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
Remove semicolons from #15425 because fat
This commit is contained in:
parent
9dc3cf7f19
commit
32cb071594
@ -221,10 +221,10 @@ $(function () {
|
|||||||
test('should detach popover content rather than removing it so that event handlers are left intact', function () {
|
test('should detach popover content rather than removing it so that event handlers are left intact', function () {
|
||||||
var $content = $('<div class="content-with-handler"><a class="btn btn-warning">Button with event handler</a></div>').appendTo('#qunit-fixture')
|
var $content = $('<div class="content-with-handler"><a class="btn btn-warning">Button with event handler</a></div>').appendTo('#qunit-fixture')
|
||||||
|
|
||||||
var handlerCalled = false;
|
var handlerCalled = false
|
||||||
$('.content-with-handler .btn').click(function () {
|
$('.content-with-handler .btn').click(function () {
|
||||||
handlerCalled = true
|
handlerCalled = true
|
||||||
});
|
})
|
||||||
|
|
||||||
var $div = $('<div><a href="#">Show popover</a></div>')
|
var $div = $('<div><a href="#">Show popover</a></div>')
|
||||||
.appendTo('#qunit-fixture')
|
.appendTo('#qunit-fixture')
|
||||||
@ -233,7 +233,7 @@ $(function () {
|
|||||||
trigger: 'manual',
|
trigger: 'manual',
|
||||||
container: 'body',
|
container: 'body',
|
||||||
content: function () {
|
content: function () {
|
||||||
return $content;
|
return $content
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user