2022-07-16 21:00:02 +00:00
|
|
|
function badge_timestamp(t) {
|
2022-11-22 22:36:33 +00:00
|
|
|
const date = formatDate(new Date(t.dataset.until*1000));
|
2022-09-04 23:15:37 +00:00
|
|
|
const text = t.getAttribute("data-bs-original-title")
|
2022-08-14 12:43:50 +00:00
|
|
|
t.setAttribute("data-bs-original-title", `${text} ${date.toString()}`);
|
2023-01-27 13:06:37 +00:00
|
|
|
t.removeAttribute("data-onmouseover")
|
2022-10-24 21:16:38 +00:00
|
|
|
}
|
2023-10-18 20:20:35 +00:00
|
|
|
|
|
|
|
addEventListener("load", () => {
|
|
|
|
const el = document.getElementById("desktopUserBanner")
|
|
|
|
const style = el.getAttribute("data-style")
|
|
|
|
el.setAttribute("style", style)
|
|
|
|
});
|