with queryparam 't' to t=tabname
$refs.levels?.querySelectorAll('a').forEach(link => {
const url = new URL(link.href);
if(url.searchParams.get('t')){
url.searchParams.set('t', tabname);
}
link.href = url.toString();
});
"
>
|
|
M | W | U | l | Goal +/- | G diff | P | |
|---|---|---|---|---|---|---|---|---|
| 1 | 5 | 5 | 0 | 0 | 149 - 97 | 52 | 10 | |
| 2 | 4 | 4 | 0 | 0 | 124 - 101 | 23 | 8 | |
| 3 | 4 | 2 | 0 | 2 | 117 - 95 | 22 | 4 | |
| 4 | 5 | 2 | 0 | 3 | 106 - 102 | 4 | 4 | |
| 5 | 4 | 2 | 0 | 2 | 87 - 97 | -10 | 4 | |
| 6 | 5 | 2 | 0 | 3 | 88 - 123 | -35 | 4 | |
| 7 | 4 | 1 | 0 | 3 | 100 - 121 | -21 | 2 | |
| 8 | 5 | 0 | 0 | 5 | 107 - 142 | -35 | 0 | |