From 1408e1cf3f1eebc2a204623a7b2274e3a51858c7 Mon Sep 17 00:00:00 2001 From: "Polderdijk,Jort J" Date: Fri, 27 Jan 2017 12:54:04 +0100 Subject: [PATCH] Fix subject, class and teacher title --- app/services/lesson.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/lesson.js b/app/services/lesson.js index 32581f7..3978755 100644 --- a/app/services/lesson.js +++ b/app/services/lesson.js @@ -20,7 +20,7 @@ export default function () { data.setInfo = function (title, kind) { tableInfo = { // We only want a small part of the title. - title: title ? title.replace(/Persoonlijk\srooster |Schedule /, '') : '', + title: title ? title.replace(/Persoonlijk\srooster |Schedule| *\([^)]*\)*/, '') : '', kind, };