fix(frontend): remove unnecessary whitespaces from cells
This commit is contained in:
parent
6c998c10c7
commit
7a31ac4ba0
@ -122,7 +122,7 @@ function make_table(url) {
|
|||||||
let inserted = 0;
|
let inserted = 0;
|
||||||
data[weekday].forEach((student_class) => {
|
data[weekday].forEach((student_class) => {
|
||||||
let td = document.createElement("td");
|
let td = document.createElement("td");
|
||||||
td.textContent = student_class;
|
td.textContent = student_class.replace(/ (?=[a-z])/g, "");
|
||||||
tr.appendChild(td);
|
tr.appendChild(td);
|
||||||
inserted++;
|
inserted++;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user