godoc: Regenerate static/static.go
Picks up changes made in previous commits. Change-Id: I8edc9e0a512e4d687c471274faaa06e0b40ea657 Reviewed-on: https://go-review.googlesource.com/34283 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
7d72743fce
commit
7932c3d4c8
|
@ -878,7 +878,7 @@ function updateVersionTags() {
|
||||||
function addPermalinks() {
|
function addPermalinks() {
|
||||||
function addPermalink(source, parent) {
|
function addPermalink(source, parent) {
|
||||||
var id = source.attr("id");
|
var id = source.attr("id");
|
||||||
if (id.indexOf("tmp_") === 0) {
|
if (id == "" || id.indexOf("tmp_") === 0) {
|
||||||
// Auto-generated permalink.
|
// Auto-generated permalink.
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -886,7 +886,7 @@ function addPermalinks() {
|
||||||
// Already attached.
|
// Already attached.
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
parent.append(" ").append($(" <a class='permalink'>¶</a>").attr("href", "#" + id));
|
parent.append(" ").append($("<a class='permalink'>¶</a>").attr("href", "#" + id));
|
||||||
}
|
}
|
||||||
|
|
||||||
$("#page .container").find("h2[id], h3[id]").each(function() {
|
$("#page .container").find("h2[id], h3[id]").each(function() {
|
||||||
|
|
Loading…
Reference in New Issue