From 35d730c5572353cd6c028b8ca2f7cb962e67f2ac Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 29 Jan 2024 19:59:51 -0800
Subject: fix(birthdays): anisearch if browser

---
 src/lib/Tools/Birthdays.svelte | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/lib/Tools/Birthdays.svelte')

diff --git a/src/lib/Tools/Birthdays.svelte b/src/lib/Tools/Birthdays.svelte
index 00cc0fcb..d8f14d12 100644
--- a/src/lib/Tools/Birthdays.svelte
+++ b/src/lib/Tools/Birthdays.svelte
@@ -27,7 +27,8 @@
 		day = Math.min(day, new Date(0, month, 0).getDate());
 		day = Math.max(day, 1);
 
-		anisearchBirthdays = aniSearchBirthdays(month, day);
+		if (browser) anisearchBirthdays = aniSearchBirthdays(month, day);
+
 		acdbBirthdays = ACDBBirthdays(month, day);
 
 		if (browser) {
-- 
cgit v1.2.3

