Fixed a temporary bug that happened during the summer vacation.

This commit is contained in:
Bram van der Veen 2015-07-21 14:08:38 +02:00
parent 358629f02b
commit 4ed887f47c

View file

@ -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;
} }