message_list_tooltips: Return 'undefined' to satisfy tippy upstream.

This commit is contained in:
Varun Singh 2024-03-18 22:10:40 +05:30 committed by Tim Abbott
parent b6a04aaa83
commit 92c8b89ce2
1 changed files with 4 additions and 4 deletions

View File

@ -54,7 +54,7 @@ function message_list_tooltip(target, props = {}) {
return false;
}
return true;
return undefined;
},
...other_props,
});
@ -144,7 +144,7 @@ export function initialize() {
$elem.get(0),
];
hide_tooltip_if_reference_removed(target, config, instance, nodes_to_check_for_removal);
return true;
return undefined;
},
onHidden(instance) {
instance.destroy();
@ -180,7 +180,7 @@ export function initialize() {
$elem.get(0),
];
hide_tooltip_if_reference_removed(target, config, instance, nodes_to_check_for_removal);
return true;
return undefined;
},
onHidden(instance) {
instance.destroy();
@ -235,7 +235,7 @@ export function initialize() {
}
const time = new Date(message.timestamp * 1000);
instance.setContent(timerender.get_full_datetime_clarification(time));
return true;
return undefined;
},
onHidden(instance) {
instance.destroy();