forked from External/greenlight
use body as container for tooltips
This commit is contained in:
parent
8b7dc9fc5d
commit
b8ec40c35f
|
@ -96,11 +96,13 @@
|
|||
|
||||
// enable tooltips
|
||||
var options = {
|
||||
selector: '.has-tooltip'
|
||||
selector: '.has-tooltip',
|
||||
container: 'body'
|
||||
};
|
||||
$(document).tooltip(options)
|
||||
var options = {
|
||||
selector: '.bottom-tooltip',
|
||||
container: 'body',
|
||||
placement: 'bottom'
|
||||
};
|
||||
$(document).tooltip(options);
|
||||
|
@ -108,6 +110,7 @@
|
|||
// enable popovers
|
||||
var options = {
|
||||
selector: '.has-popover',
|
||||
container: 'body',
|
||||
html: true,
|
||||
trigger: 'focus',
|
||||
title: function() {
|
||||
|
|
Loading…
Reference in New Issue