mirror of
https://github.com/quatalog/site.git
synced 2025-01-27 06:56:48 +00:00
Typo
This commit is contained in:
parent
87467776e9
commit
608a9420a6
|
@ -11,7 +11,7 @@ const search_helper = function(event) {
|
|||
course_code = input.match(/.{1,4}/g)
|
||||
} else if(input.length == 9) {
|
||||
// "abcd - 1345" => ["abcd","1345"]
|
||||
course_code = input.split(/(?:,| )+/);
|
||||
course_code = input.split(/(?:-| )+/);
|
||||
}
|
||||
// only do this logic if the string might be a course code
|
||||
if(course_code) {
|
||||
|
|
Loading…
Reference in a new issue