FIX: Add Chromebook detection.

This commit is contained in:
Bianca Nenciu
2019-05-30 16:29:43 +03:00
parent 2548d5b0e3
commit 8196af165d
4 changed files with 17 additions and 8 deletions

View File

@@ -27,6 +27,8 @@ module BrowserDetection
case user_agent
when /Android/i
:android
when /CrOS/i
:chromebook
when /iPad/i
:ipad
when /iPhone/i
@@ -50,6 +52,8 @@ module BrowserDetection
case user_agent
when /Android/i
:android
when /CrOS/i
:chromeos
when /iPhone|iPad|iPod/i
:ios
when /Macintosh/i