fixed recursive loop bug on my CV
Some checks failed
Rebuild signaller for deprived.dev to rebuild site / test_service (push) Failing after 0s
Some checks failed
Rebuild signaller for deprived.dev to rebuild site / test_service (push) Failing after 0s
This commit is contained in:
parent
39ce1deae7
commit
53de1c8bff
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
// If the query parameter is not detected, reload the page with the parameter added
|
// If the query parameter is not detected, reload the page with the parameter added
|
||||||
if (!hideOnPrintParam) {
|
if (!hideOnPrintParam) {
|
||||||
window.location.href = `${window.location.href}?hideOnPrint=1`;
|
window.location.href = `${window.location.href}${window.location.href.indexOf("?") > 0 ? "&" : "?"}hideOnPrint=1`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue