From 1d7acdfc20bdaf07f45a840be0be96070f4e9f04 Mon Sep 17 00:00:00 2001 From: Miodec Date: Wed, 17 May 2023 14:42:02 +0200 Subject: [PATCH] updating name font size less often --- frontend/src/ts/elements/profile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ts/elements/profile.ts b/frontend/src/ts/elements/profile.ts index ec136e174..12da1f224 100644 --- a/frontend/src/ts/elements/profile.ts +++ b/frontend/src/ts/elements/profile.ts @@ -346,7 +346,7 @@ $(".details .editProfileButton").on("click", () => { }); }); -const throttledEvent = throttle(250, () => { +const throttledEvent = throttle(1000, () => { const activePage = ActivePage.get(); if (activePage && ["account", "profile"].includes(activePage)) { updateNameFontSize(activePage as ProfileViewPaths);