- recognize konqueror from kde3 as WebKit to setup dom:loaded event emulation
[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.043086 seconds and 3 git commands to generate.