From f79b7abb3e169dc323fe670ca373c505d0e67c98 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Fri, 1 Jan 2021 23:36:07 -0700 Subject: [PATCH] Make navigator undefined match more explicit. --- web/src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/App.vue b/web/src/App.vue index 3d0b471..c2d67a2 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -67,7 +67,7 @@ export default { return navigator.userAgent; }, isMobile () { - return this.userAgent.match(/Navigator|iPhone|iPod|Android/) != null; + return this.userAgent.match(/(Navigator Undefined)|iPhone|iPod|Android/) != null; }, }, methods: {