mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 12:29:24 +00:00
modification du style du tooltip
This commit is contained in:
@ -310,7 +310,7 @@ export class IcsCalendar extends inheritHtmlElement("div") {
|
||||
const button = event.target as HTMLButtonElement;
|
||||
button.classList.add("text-copy");
|
||||
button.setAttribute(
|
||||
"tooltip",
|
||||
"data-tooltip",
|
||||
gettext("Calendar link copied to the clipboard"),
|
||||
);
|
||||
navigator.clipboard.writeText(
|
||||
@ -323,7 +323,7 @@ export class IcsCalendar extends inheritHtmlElement("div") {
|
||||
button.classList.remove("text-copied");
|
||||
button.classList.add("text-copied");
|
||||
button.classList.remove("text-copy");
|
||||
button.removeAttribute("tooltip");
|
||||
button.removeAttribute("data-tooltip");
|
||||
}, 700);
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user