mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-16 03:34:06 +00:00
fix urls opened in new tabs being added to history as hidden entries (bug 236394). r=ben.
This commit is contained in:
parent
abdf7f1e26
commit
54e8bc7730
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user