We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3bb209 commit 6baae18Copy full SHA for 6baae18
src/main/resources/lib/hudson/test/js/failureSummary.js
@@ -43,7 +43,10 @@ function handleShowHideClick(event) {
43
const id = link.id.replace(/-showlink$/, '').replace(/-hidelink$/, '');
44
45
if (link.id.endsWith('-showlink')) {
46
- showFailureSummary(id, document.URL + id.replace(PREFIX, '') + "summary");
+ // clear the query parameters
47
+ const cleanUrl = new URL(document.URL);
48
+ cleanUrl.search = "";
49
+ showFailureSummary(id, cleanUrl + id.replace(PREFIX, '') + "summary");
50
} else {
51
hideFailureSummary(id);
52
}
0 commit comments