prototype: Update Prototype.Browser.MobileSafari for iPod touch compatibility.
This commit is contained in:
parent
746a905ef4
commit
05e48f6feb
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue