Better tablet detection:

- Fix lenovo phone / tablet detection
This commit is contained in:
sUP
2021-03-29 16:04:00 +03:00
parent 91fa6dd5cc
commit 80fae81eee
2 changed files with 10 additions and 1 deletions

View File

@@ -448,7 +448,7 @@
// Lenovo
/(ideatab[\w\-\s]+)/i,
/lenovo\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+)|[\w-]+)/i // Lenovo tablets
/lenovo\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+)|yt[\d\w-]{6}|tb[\d\w-]{6})/i // Lenovo tablets
], [MODEL, [VENDOR, 'Lenovo'], [TYPE, TABLET]], [
// Nokia