зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1486486 - Remove bogus link override code in about:memory. r=bz
It's throwing because things like `about:memory#end0` aren't valid selectors. --HG-- extra : rebase_source : 7de7b57347a7bc5dc3b08c58c31a48dc8be93804
This commit is contained in:
Родитель
8cac942c02
Коммит
f65957c65b
|
@ -1429,14 +1429,6 @@ function appendProcessAboutMemoryElements(aP, aN, aProcess, aTrees,
|
|||
link.title = "Go to the " + aThere + " of " + aProcess;
|
||||
link.style = "text-decoration: none";
|
||||
|
||||
// This jumps to the anchor without the page location getting the anchor
|
||||
// name tacked onto its end, which is what happens with a vanilla link.
|
||||
link.addEventListener("click", function(event) {
|
||||
document.documentElement.scrollTop =
|
||||
document.querySelector(event.target.href).offsetTop;
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
// This gives nice spacing when we copy and paste.
|
||||
appendElementWithText(aP, "span", "", "\n");
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче