From 790dcccc6ef78a3bd8c2eec017f524a3376717f1 Mon Sep 17 00:00:00 2001 From: Freeplay Date: Sat, 25 Feb 2023 21:49:41 -0500 Subject: [PATCH] don't know why that was like that oops --- packages/client/src/components/global/MkPageHeader.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/components/global/MkPageHeader.vue b/packages/client/src/components/global/MkPageHeader.vue index fce2c836c4..1569cddf98 100644 --- a/packages/client/src/components/global/MkPageHeader.vue +++ b/packages/client/src/components/global/MkPageHeader.vue @@ -169,10 +169,10 @@ onMounted(() => { }); if (el && el.parentElement) { - narrow.value = el.parentElement.offsetWidth < 500; + narrow = el.parentElement.offsetWidth < 500; ro = new ResizeObserver((entries, observer) => { if (el.parentElement && document.body.contains(el)) { - narrow.value = el.parentElement.offsetWidth < 500; + narrow = el.parentElement.offsetWidth < 500; } }); ro.observe(el.parentElement);