fix urls opened in new tabs being added to history as hidden entries (bug 236394). r=ben.

This commit is contained in:
bryner%brianryner.com 2004-03-26 21:58:08 +00:00
parent abdf7f1e26
commit 54e8bc7730

View File

@ -68,7 +68,7 @@ function markLinkVisited(href, linkNode)
var uri = makeURL(href);
if (!globalHistory.isVisited(uri)) {
globalHistory.addURI(uri, false, false);
globalHistory.addURI(uri, false, true);
var oldHref = linkNode.getAttribute("href");
if (typeof oldHref == "string") {
// Use setAttribute instead of direct assignment.