Changeset - 2f35bd7b97aa
[Not reviewed]
default
0 1 0
domruf - 8 years ago 2017-07-18 20:50:49
dominikruf@gmail.com
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.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
kallithea/public/js/base.js
Show inline comments
 
@@ -490,6 +490,7 @@ var tooltip_activate = function(){
 
    }
 
    $(document).ready(function(){
 
        $('[data-toggle="tooltip"]').tooltip({
 
            container: 'body',
 
            placement: placement
 
        });
 
        $('[data-toggle="popover"]').popover({
0 comments (0 inline, 0 general)