Commit 3f9cec83 authored by Дмитрий Малюгин's avatar Дмитрий Малюгин 🕓
Browse files

fix: build

parent 891a4278
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ const pickOption = (value: string) => {
const calcOptionColor = (color: TThemeColor | undefined, darknessColor: string | undefined, defaultColor: string) =>
  color ? convertThemeToColor(color, darknessColor ?? '500') : defaultColor;

document.querySelector('body').addEventListener('pointerup', (e: MouseEvent) => {
document.querySelector('body')!.addEventListener('pointerup', (e: MouseEvent) => {
  if (isOpen.value && e.button === 0) isOpen.value = false;
});
</script>