mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-28 16:54:04 +08:00
updating name font size less often
This commit is contained in:
parent
2749360d3e
commit
1d7acdfc20
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue