From 90c375380fcdf51e60206ccaa6faa7ba4807d989 Mon Sep 17 00:00:00 2001 From: BendingBender Date: Mon, 24 Feb 2014 23:07:20 +0100 Subject: [PATCH] added docs for `tablet` flag --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 77d4a00..45e1ce6 100644 --- a/README.md +++ b/README.md @@ -38,11 +38,11 @@ Flags set for detected mobile Operating Systems * `ios` (`iphone`/`ipad`/`ipod`) * `blackberry` * `firefoxos` - * `webos` + * `webos` (`touchpad`) Android, iOS, Windows Phone, and WebOS will all report the OS version number if it is contained in the UA string in the `osversion` field. iOS is always reported as `ios` and additionally as `iphone`/`ipad`/`ipod`, whichever one matches best. If WebOS device is an HP TouchPad the flag `touchpad` is additionally set. -All detected mobile OSes are additionally flagged `mobile`. +All detected mobile OSes are additionally flagged `mobile`, **if they are not running on a tablet device**. If a tablet is detected, the flag `tablet` is set instead. Notes ----