Bug 197623 prefetch links should not be shown in Site Navigation Bar

patch by stevechapel@earthlink.net r=dean_tessman sr=jst a=asa
This commit is contained in:
timeless%mozdev.org 2003-05-23 03:05:00 +00:00
parent 183e1e0150
commit b19bcb9639

View File

@ -60,14 +60,15 @@ function(element)
if (linkElement.isIgnored()) return;
if (!this.hasItems) {
this.hasItems = true;
linkToolbarUI.activate();
}
for (var i = 0; i < linkElement.relValues.length; i++) {
var linkType = LinkToolbarHandler.getLinkType(linkElement.relValues[i]);
this.getItemForLinkType(linkType).displayLink(linkElement);
if (linkType) {
if (!this.hasItems) {
this.hasItems = true;
linkToolbarUI.activate();
}
this.getItemForLinkType(linkType).displayLink(linkElement);
}
}
}
@ -108,6 +109,9 @@ function(relAttribute)
case "toc":
return "toc";
case "prefetch":
return null;
default:
return relAttribute.toLowerCase();
}