r4253 bugfix: Permissions code editor was broken with Google Chrome
[racktables] / wwwroot / js / codepress / codepress.html
index 20270feab98de03b7068f5924b09bad14ab96dad..99209bf88a81ee98918c879a9b05279cfcabde9e 100644 (file)
@@ -12,7 +12,7 @@
        var lh = location.href;\r
        \r
        if(ua.match('MSIE')) engine = 'msie';\r
-       else if(ua.match('KHTML')) engine = 'khtml'; \r
+       else if(ua.match('KHTML')) engine = 'gecko'; \r
        else if(ua.match('Opera')) engine = 'opera'; \r
        else if(ua.match('Gecko')) engine = 'gecko';\r
 \r