]>
Commit | Line | Data |
---|---|---|
3c1409fd ER |
1 | --- lightbox/script.js~ 2009-03-12 03:00:14.000000000 +0200 |
2 | +++ lightbox/script.js 2009-03-12 03:00:15.750346833 +0200 | |
3 | @@ -12,7 +12,7 @@ | |
4 | Browser: { | |
5 | IE: !!(window.attachEvent && !window.opera), | |
6 | Opera: !!window.opera, | |
7 | - WebKit: navigator.userAgent.indexOf('AppleWebKit/') > -1, | |
8 | + WebKit: navigator.userAgent.indexOf('AppleWebKit/') > -1 || navigator.userAgent.indexOf('KHTML') > -1, | |
9 | Gecko: navigator.userAgent.indexOf('Gecko') > -1 && navigator.userAgent.indexOf('KHTML') == -1, | |
10 | MobileSafari: !!navigator.userAgent.match(/Apple.*Mobile.*Safari/) | |
11 | }, |