Fix labels and popups on EXPLAIN plan that were broken by the jQuery 3 update. Fixes #3404

This commit is contained in:
Murtuza Zabuawala 2018-06-11 17:03:21 +01:00 committed by Dave Page
parent 226c872a84
commit e2b0cf6727

View File

@ -576,7 +576,7 @@ define('pgadmin.misc.explain', [
// Draw tooltip // Draw tooltip
var image_data = this.toJSON(); var image_data = this.toJSON();
image.on('mouseover',() => { image.mouseover(() => {
// Empty the tooltip content if it has any and add new data // Empty the tooltip content if it has any and add new data
toolTipContainer.empty(); toolTipContainer.empty();
@ -618,7 +618,7 @@ define('pgadmin.misc.explain', [
}); });
// Remove tooltip when mouse is out from node's area // Remove tooltip when mouse is out from node's area
image.on('mouseout',() => { image.mouseout(() => {
toolTipContainer.empty(); toolTipContainer.empty();
toolTipContainer.css({ toolTipContainer.css({
'opacity': '0', 'opacity': '0',