prova de ratlla entre assignatures
diff --git a/css/duplicate-subjects.css b/css/duplicate-subjects.css
index 20f8350..5839f3a 100644
--- a/css/duplicate-subjects.css
+++ b/css/duplicate-subjects.css
@@ -14,15 +14,15 @@
margin: 15px 10px;
border-bottom-left-radius: 0px;
border-top-left-radius: 0px;
- margin-left: -4px;
- border-left: 3px solid #4A4A4A;
+ margin-left: -5px;
+ border-left: 3.5px solid #4A4A4A;
}
.buttons.grid .complex-button2Left {
flex: 1 0 34%;
margin: 15px 10px;
- margin-right: -4px;
+ margin-right: -5px;
border-bottom-right-radius: 0px;
border-top-right-radius: 0px;
- border-right: 3px solid #4A4A4A;
+ border-right: 3.5px solid #4A4A4A;
}
diff --git a/js/build_page.js b/js/build_page.js
index ddbf851..2704794 100644
--- a/js/build_page.js
+++ b/js/build_page.js
@@ -125,9 +125,9 @@
var classeDiv;
// Check if the subject is repeated
- if (i < classes.length - 1) duplicateSubjectBoolNext = classes[i+1][1].classe.friendly_name == classe.friendly_name;
+ if (i < classes.length - 1) duplicateSubjectBoolNext = classes[i+1].classe.friendly_name == classe.friendly_name;
else duplicateSubjectBoolNext = false;
- if (i > 0) duplicateSubjectBoolPrev = classes[i-1][1].friendly_name == classe.friendly_name;
+ if (i > 0) duplicateSubjectBoolPrev = classes[i-1].friendly_name == classe.friendly_name;
else duplicateSubjectBoolPrev = false;
// Change the previous classeDiv