Skip to content

Commit a229014

Browse files
committed
Fix 'show source [in new tab]' under -lines
1 parent b92577c commit a229014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/driver/html/stacks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function stackViewer(stacks, nodes) {
135135
}
136136

137137
// Update params to include src.
138-
let v = pprofQuoteMeta(stacks.Sources[src].FullName);
138+
let v = pprofQuoteMeta(stacks.Sources[src].FullName.replace(/:[0-9]+$/, ''));
139139
if (param != 'f' && param != 'sf') { // old f,sf values are overwritten
140140
// Add new source to current parameter value.
141141
const old = params.get(param);

0 commit comments

Comments
 (0)