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
|
// enable tooltips
|
||||||
var options = {
|
var options = {
|
||||||
selector: '.has-tooltip'
|
selector: '.has-tooltip',
|
||||||
|
container: 'body'
|
||||||
};
|
};
|
||||||
$(document).tooltip(options)
|
$(document).tooltip(options)
|
||||||
var options = {
|
var options = {
|
||||||
selector: '.bottom-tooltip',
|
selector: '.bottom-tooltip',
|
||||||
|
container: 'body',
|
||||||
placement: 'bottom'
|
placement: 'bottom'
|
||||||
};
|
};
|
||||||
$(document).tooltip(options);
|
$(document).tooltip(options);
|
||||||
|
@ -108,6 +110,7 @@
|
||||||
// enable popovers
|
// enable popovers
|
||||||
var options = {
|
var options = {
|
||||||
selector: '.has-popover',
|
selector: '.has-popover',
|
||||||
|
container: 'body',
|
||||||
html: true,
|
html: true,
|
||||||
trigger: 'focus',
|
trigger: 'focus',
|
||||||
title: function() {
|
title: function() {
|
||||||
|
|
Loading…
Reference in New Issue