Merge pull request #967 from Jason-Cooke/patch-1

docs: fix typo
This commit is contained in:
Angelos Chalaris
2019-05-27 10:17:12 +03:00
committed by GitHub

View File

@ -1,6 +1,6 @@
### detectDeviceType
Detects wether the website is being opened in a mobile device or a desktop/laptop.
Detects whether 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.