SOURCES: dokuwiki-plugin-lightbox-konqueror.patch (NEW) - recognize konquer...

glen glen at pld-linux.org
Thu Mar 12 02:01:48 CET 2009


Author: glen                         Date: Thu Mar 12 01:01:48 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- recognize konqueror from kde3 as WebKit to setup dom:loaded event emulation

---- Files affected:
SOURCES:
   dokuwiki-plugin-lightbox-konqueror.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/dokuwiki-plugin-lightbox-konqueror.patch
diff -u /dev/null SOURCES/dokuwiki-plugin-lightbox-konqueror.patch:1.1
--- /dev/null	Thu Mar 12 02:01:49 2009
+++ SOURCES/dokuwiki-plugin-lightbox-konqueror.patch	Thu Mar 12 02:01:43 2009
@@ -0,0 +1,11 @@
+--- lightbox/script.js~	2009-03-12 03:00:14.000000000 +0200
++++ lightbox/script.js	2009-03-12 03:00:15.750346833 +0200
+@@ -12,7 +12,7 @@
+   Browser: {
+     IE:     !!(window.attachEvent && !window.opera),
+     Opera:  !!window.opera,
+-    WebKit: navigator.userAgent.indexOf('AppleWebKit/') > -1,
++    WebKit: navigator.userAgent.indexOf('AppleWebKit/') > -1 || navigator.userAgent.indexOf('KHTML') > -1,
+     Gecko:  navigator.userAgent.indexOf('Gecko') > -1 && navigator.userAgent.indexOf('KHTML') == -1,
+     MobileSafari: !!navigator.userAgent.match(/Apple.*Mobile.*Safari/)
+   },
================================================================


More information about the pld-cvs-commit mailing list