fixed issue where tooltips in some grids would make the grid shift slightly.

pull/3113/head
Keivan Beigi 11 years ago
parent 42c6ca4297
commit f162c5848f

@ -11,6 +11,15 @@ define(
element.attr('data-placement', 'right');
}
var container = element.parents('.modal-body');
if (container.length === 0) {
container = 'body';
}
element.tooltip({
container: container
});
element.tooltip('show');
});
});

Loading…
Cancel
Save