Fix issue contact plus button sometimes gets stuck

This commit is contained in:
Hadi Nategh 2021-12-09 15:08:42 +01:00
parent 2bcd6b16d8
commit d42f20cf38
2 changed files with 10 additions and 0 deletions

View File

@ -436,6 +436,11 @@ export class et2_description extends expose(class et2_description extends et2_ba
})
.tooltip("open");
}, {widget: this, span: this.span}));
this.span.on('mouseout', function(){
if(jQuery(this).tooltip('instance')) {
jQuery(this).tooltip('close');
}
});
}
}){};
et2_register_widget(et2_description, ["description", "label"]);

View File

@ -452,6 +452,11 @@ export class et2_url_ro extends et2_valueWidget
);
}
},{widget: this, span: this.span, value: this.value}));
this.span.on('mouseout', function(){
if(jQuery(this).tooltip('instance')) {
jQuery(this).tooltip('close');
}
});
}
break;
}