From c820921701b67d12f0d4cd36c1e1011203368bf2 Mon Sep 17 00:00:00 2001 From: Luca Date: Mon, 12 Nov 2012 15:38:13 +0100 Subject: [PATCH] Update src/devicedetection.js There is a wrong comma on line 42. this brakes on IE7 --- src/devicedetection.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/devicedetection.js b/src/devicedetection.js index 7908976..cb3b6f3 100644 --- a/src/devicedetection.js +++ b/src/devicedetection.js @@ -1,4 +1,3 @@ - /** * DeviceDetection Class * @author Daniel Pötzinger @@ -40,7 +39,7 @@ DeviceDetection = function(ua) { tabletPc: Boolean(ua.match(/Tablet PC/)), palmDevice: Boolean(ua.match(/(PalmOS|PalmSource| Pre\/)/)), kindle: Boolean(ua.match(/(Kindle)/)), - otherMobileHints: Boolean(ua.match(/(Opera Mini|IEMobile|SonyEricsson|smartphone)/)), + otherMobileHints: Boolean(ua.match(/(Opera Mini|IEMobile|SonyEricsson|smartphone)/)) }; }