KTHMLfixes no longer loaded on skins where it doesn't exist. (bug 14717)
[lhc/web/wiklou.git] / skins / common / wikibits.js
index 373c8ee..e8e30fe 100644 (file)
@@ -92,7 +92,7 @@ if (typeof stylepath != 'undefined' && typeof skin != 'undefined') {
                document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'/'+skin+'/Opera6Fixes.css">');
        } else if (is_opera_seven && !is_opera_95) {
                document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'/'+skin+'/Opera7Fixes.css">');
-       } else if (is_khtml) {
+       } else if (is_khtml && skin == 'monobook' ) {
                document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'/'+skin+'/KHTMLFixes.css">');
        }
 }