improved drawer + added pwa installation notice

This commit is contained in:
daniel31x13
2024-01-23 06:29:15 -05:00
parent 1d14d17e7a
commit 39db72a201
7 changed files with 19 additions and 13 deletions
+4
View File
@@ -6,6 +6,10 @@ export function isPWA() {
);
}
export function isIphone() {
return /iPhone/.test(navigator.userAgent) && !(window as any).MSStream;
}
export function dropdownTriggerer(e: any) {
let targetEl = e.currentTarget;
if (targetEl && targetEl.matches(":focus")) {