Bug #126981 --> make HTML anchors work again by reversing the logic on an if clause.
r=sspitzer sr=alecf a=shaver
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