docs: fix typo

This commit is contained in:
Jason Cooke
2019-05-26 19:02:43 +12:00
committed by GitHub
parent 43d35b5e5e
commit c2f1ae271b

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.