Fixed a temporary bug that happened during the summer vacation.
This commit is contained in:
parent
358629f02b
commit
4ed887f47c
|
@ -43,7 +43,7 @@ function schedule_types(page) {
|
||||||
for (element of extract) {
|
for (element of extract) {
|
||||||
element != '' ? types.push({
|
element != '' ? types.push({
|
||||||
'letter': element.substr(0, 1),
|
'letter': element.substr(0, 1),
|
||||||
'value' : element.match(/.*rooster|t\/m|\d\d\s\w{3}/g).join(' ').slice(1),
|
'value' : element.indexOf(extract), //element.match(/.*rooster|t\/m|\d\d\s\w{3}/g).join(' ').slice(1),
|
||||||
'tab': tab++
|
'tab': tab++
|
||||||
}) : null;
|
}) : null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue