]> git.pld-linux.org Git - packages/dokuwiki-plugin-lightbox.git/blob - dokuwiki-plugin-lightbox-konqueror.patch
b0bfa4c96d177582e6a6ab222be7e76deb170f10
[packages/dokuwiki-plugin-lightbox.git] / dokuwiki-plugin-lightbox-konqueror.patch
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    },
This page took 0.04039 seconds and 2 git commands to generate.