Set mobile attribute if the browser is chrome.

Important to know, as chrome can run on mobile as well as desktops.
pull/29/head
Jesper Thomschütz 11 years ago
parent f448737f15
commit 9082146fc8

@ -54,6 +54,7 @@
}
if (chrome) return {
webkit: t
, mobile: iphone || ipad || android
, chrome: t
, version: ua.match(/chrome\/(\d+(\.\d+)?)/i)[1]
}

Loading…
Cancel
Save