From 7196de309d99005c52d692ddc9bf1ea3d11e91a4 Mon Sep 17 00:00:00 2001 From: Matheus Clemente Date: Sun, 12 May 2024 23:13:24 -0300 Subject: [PATCH] Journals: upgrade to foundry tooltip --- src/module/logic.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/module/logic.js b/src/module/logic.js index 486cf58..ed71301 100644 --- a/src/module/logic.js +++ b/src/module/logic.js @@ -697,7 +697,8 @@ export class Polyglot { inline: "span", classes: "polyglot-journal", attributes: { - title: lang.label || "", + "data-tooltip": lang.label || "", + "data-tooltip-direction": "UP", "data-language": key || "", }, };