diff --git a/internal/driver/html/common.js b/internal/driver/html/common.js index d3312215..ff980f66 100644 --- a/internal/driver/html/common.js +++ b/internal/driver/html/common.js @@ -563,11 +563,11 @@ function viewer(baseUrl, nodes, options) { return str.replace(/([\\\.?+*\[\](){}|^$])/g, '\\$1'); } - function setSampleIndexLink(id) { - const elem = document.getElementById(id); + function setSampleIndexLink(si) { + const elem = document.getElementById('sampletype-' + si); if (elem != null) { setHrefParams(elem, function (params) { - params.set("si", id); + params.set("si", si); }); } } diff --git a/internal/driver/html/header.html b/internal/driver/html/header.html index 96ad4181..42cb7960 100644 --- a/internal/driver/html/header.html +++ b/internal/driver/html/header.html @@ -28,7 +28,7 @@

pprof