diff options
Diffstat (limited to 'tdehtml/ecma')
-rw-r--r-- | tdehtml/ecma/kjs_proxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdehtml/ecma/kjs_proxy.cpp b/tdehtml/ecma/kjs_proxy.cpp index bdd7183fe..3ded567fe 100644 --- a/tdehtml/ecma/kjs_proxy.cpp +++ b/tdehtml/ecma/kjs_proxy.cpp @@ -355,7 +355,7 @@ void KJSProxyImpl::applyUserAgent() // If we find "Mozilla" but not "(compatible, ...)" we are a real Netscape if (userAgent.find(TQString::fromLatin1("Mozilla")) >= 0 && userAgent.find(TQString::fromLatin1("compatible")) == -1 && - userAgent.find(TQString::fromLatin1("TDEHTML")) == -1) + userAgent.find(TQString::fromLatin1("KHTML")) == -1) { m_script->setCompatMode(Interpreter::NetscapeCompat); #ifdef KJS_VERBOSE |