From 6a57cbc52f4979f9555536606fafaf10f516296b Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Wed, 31 Aug 2011 00:50:28 +0000 Subject: [PATCH] #4461 "wrong regular expression for HTTP user-agent" -- fixed. --- web/javascript/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/javascript/common.js b/web/javascript/common.js index 5fd9af55b..3883150d3 100644 --- a/web/javascript/common.js +++ b/web/javascript/common.js @@ -8,7 +8,7 @@ var transmission, dialog, - isMobileDevice = RegExp("(isMobileDevice|iPod|Android)").test(navigator.userAgent), + isMobileDevice = RegExp("(iPhone|iPod|Android)").test(navigator.userAgent), scroll_timeout; if (!Array.indexOf){