From 05e48f6feb71504ba0e83df098671ec88daf9c5f Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Mon, 8 Oct 2007 17:30:40 +0000 Subject: [PATCH] prototype: Update Prototype.Browser.MobileSafari for iPod touch compatibility. --- src/prototype.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prototype.js b/src/prototype.js index e65893c..8cd760a 100644 --- a/src/prototype.js +++ b/src/prototype.js @@ -8,7 +8,7 @@ var Prototype = { Opera: !!window.opera, WebKit: navigator.userAgent.indexOf('AppleWebKit/') > -1, Gecko: navigator.userAgent.indexOf('Gecko') > -1 && navigator.userAgent.indexOf('KHTML') == -1, - MobileSafari: !!navigator.userAgent.match(/iPhone.*Mobile.*Safari/) + MobileSafari: !!navigator.userAgent.match(/Apple.*Mobile.*Safari/) }, BrowserFeatures: {