diff --git a/mozilla/toolkit/components/help/content/help.js b/mozilla/toolkit/components/help/content/help.js index 295cd8392c7..fa5c69bfb44 100644 --- a/mozilla/toolkit/components/help/content/help.js +++ b/mozilla/toolkit/components/help/content/help.js @@ -689,9 +689,10 @@ function doFindOnSeq(resultsDS, sourceDS, resource, level) { var target = targets.getNext(); var link = sourceDS.GetTarget(target, NC_LINK, true); var name = sourceDS.GetTarget(target, NC_NAME, true); - name = name.QueryInterface(Components.interfaces.nsIRDFLiteral); - if (link && isMatch(name.Value)) { + if (link && + name instanceof Components.interfaces.nsIRDFLiteral && + isMatch(name.Value)) { // we have found a search entry - add it to the results datasource. var urn = RDF.GetAnonymousResource(); resultsDS.Assert(urn, NC_NAME, name, true); diff --git a/mozilla/toolkit/components/help/content/help.xul b/mozilla/toolkit/components/help/content/help.xul index 5460d3727ee..fe833e9162e 100644 --- a/mozilla/toolkit/components/help/content/help.xul +++ b/mozilla/toolkit/components/help/content/help.xul @@ -209,12 +209,10 @@ object="?subheadings"/> + - - -