From 9082146fc81e3b47c89a28ecf7201863b38b71f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20Thomsch=C3=BCtz?= Date: Tue, 3 Dec 2013 22:01:48 +0000 Subject: [PATCH] Set mobile attribute if the browser is chrome. Important to know, as chrome can run on mobile as well as desktops. --- bowser.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bowser.js b/bowser.js index ec0931b..68a3902 100644 --- a/bowser.js +++ b/bowser.js @@ -54,6 +54,7 @@ } if (chrome) return { webkit: t + , mobile: iphone || ipad || android , chrome: t , version: ua.match(/chrome\/(\d+(\.\d+)?)/i)[1] }