Bug #126981 --> make HTML anchors work again by reversing the logic on an if clause.
r=sspitzer sr=alecf a=shaver git-svn-id: svn://10.0.0.236/trunk@115177 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -4971,7 +4971,7 @@ nsDocShell::ScrollIfAnchor(nsIURI * aURI, PRBool * aWasAnchor)
|
||||
// This means that comparing "http://www.ABC.com/" to "http://www.abc.com/"
|
||||
// will fail this test.
|
||||
|
||||
if (Substring(currentLeftStart, currentLeftEnd).Equals(sNewLeft)) {
|
||||
if (!Substring(currentLeftStart, currentLeftEnd).Equals(sNewLeft)) {
|
||||
return NS_OK; // URIs not the same
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user