tooltip tweaks - slightly cleaner this way, i think

This commit is contained in:
Jon Atkins 2015-03-05 18:56:23 +00:00
parent 54a6861aef
commit b6c89c9575

View File

@ -461,11 +461,11 @@ window.setupTooltips = function(element) {
element = element || $(document);
element.tooltip({
// disable show/hide animation
show: { effect: "hide", duration: 0 } ,
show: { effect: 'none', duration: 0, delay: 350 },
hide: false,
open: function(event, ui) {
// ensure all other tooltips are closed
$(".ui-tooltip").not(ui.tooltip).remove();
ui.tooltip.delay(300).fadeIn(0);
},
content: function() {
var title = $(this).attr('title');