mirror of
https://github.com/quatalog/site.git
synced 2025-03-21 01:19:32 +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)
|
course_code = input.match(/.{1,4}/g)
|
||||||
} else if(input.length == 9) {
|
} else if(input.length == 9) {
|
||||||
// "abcd - 1345" => ["abcd","1345"]
|
// "abcd - 1345" => ["abcd","1345"]
|
||||||
course_code = input.split(/(?:,| )+/);
|
course_code = input.split(/(?:-| )+/);
|
||||||
}
|
}
|
||||||
// only do this logic if the string might be a course code
|
// only do this logic if the string might be a course code
|
||||||
if(course_code) {
|
if(course_code) {
|
||||||
|
|
Loading…
Reference in a new issue