use body as container for tooltips

This commit is contained in:
Zachary Chai 2016-11-17 17:16:57 -05:00
parent 8b7dc9fc5d
commit b8ec40c35f
1 changed files with 4 additions and 1 deletions

View File

@ -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() {