Updated cin7 templates while Hubert was out, and downloaded all of Chubb's templates since something needed to be udpated. Ran a script for SPS Commerce to get all the courses.
This commit is contained in:
@ -15,4 +15,21 @@
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap" rel="stylesheet">
|
||||
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
function modifyCourseNames() {
|
||||
var courseElements = document.querySelectorAll('.course-name');
|
||||
|
||||
courseElements.forEach(function(courseElement) {
|
||||
var courseName = courseElement.textContent;
|
||||
var modifiedCourseName = courseName.replace(/\[[^\]]+\]/g, '');
|
||||
courseElement.textContent = modifiedCourseName;
|
||||
});
|
||||
}
|
||||
|
||||
modifyCourseNames();
|
||||
});
|
||||
|
||||
</script>
|
||||
Reference in New Issue
Block a user