Tooltips/popovers without delay

This commit is contained in:
2016-11-11 20:04:08 +01:00
parent 9b469cee7d
commit 8959fac415
3 changed files with 4 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ if(typeof($.fn.popover) != 'undefined'){
$('[data-toggle="popover"]').popover();
}
if(typeof($.fn.tooltip) != 'undefined'){
$('[data-toggle="tooltip"]').tooltip({'delay' : {'show': 1250, 'hide': 250}});
$('[data-toggle="tooltip"]').tooltip({'delay' : {'show': 0, 'hide': 0}});
}
function NavbarTransparent() {

View File

@@ -701,6 +701,8 @@ footer
.tooltip
transition: none
&.in
opacity: 1

View File

@@ -168,5 +168,5 @@ script(type="text/javascript").
if (typeof $().tooltip != 'undefined'){
$('[data-toggle="tooltip"]').tooltip({'delay' : {'show': 1250, 'hide': 250}});
$('[data-toggle="tooltip"]').tooltip({'delay' : {'show': 0, 'hide': 0}});
}