# HG changeset patch # User domruf # Date 2017-07-18 20:50:49 # Node ID 2f35bd7b97aafd7ffcc0f464fbca476721da03c7 # Parent 19f40a5088d4732235fee1c8f53e7b5a779b8124 js: use body as container for Bootstrap tooltips Under some circumstances, the floating of the elements gets altered, if the tooltip elements gets put next to the source element. Therefore use body as the container. diff --git a/kallithea/public/js/base.js b/kallithea/public/js/base.js --- a/kallithea/public/js/base.js +++ b/kallithea/public/js/base.js @@ -490,6 +490,7 @@ var tooltip_activate = function(){ } $(document).ready(function(){ $('[data-toggle="tooltip"]').tooltip({ + container: 'body', placement: placement }); $('[data-toggle="popover"]').popover({