From f3a7fc88c5febf88d5b164e819fda89019e3d119 Mon Sep 17 00:00:00 2001 From: Lucas Gabriel Schneider Date: Mon, 8 Apr 2019 11:25:31 -0300 Subject: [PATCH] Fixing bot error --- snippets/detectDeviceType.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/detectDeviceType.md b/snippets/detectDeviceType.md index 71da1349f..83fdc4061 100644 --- a/snippets/detectDeviceType.md +++ b/snippets/detectDeviceType.md @@ -1,6 +1,6 @@ ### detectDeviceType -Detects weather the website is being opened in a mobile device or a desktop/laptop. +Detects wether the website is being opened in a mobile device or a desktop/laptop. Use a regular expression to test the `navigator.userAgent` property to figure out if the device is a mobile device or a desktop/laptop.