# HG changeset patch # User domruf # Date 1500403849 -7200 # 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 -r 19f40a5088d4 -r 2f35bd7b97aa kallithea/public/js/base.js --- a/kallithea/public/js/base.js Tue Jun 27 21:49:33 2017 +0200 +++ b/kallithea/public/js/base.js Tue Jul 18 20:50:49 2017 +0200 @@ -490,6 +490,7 @@ } $(document).ready(function(){ $('[data-toggle="tooltip"]').tooltip({ + container: 'body', placement: placement }); $('[data-toggle="popover"]').popover({