aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cockpit/cockpit.html2
-rw-r--r--cockpit/js/cockpit.js2
2 files changed, 3 insertions, 1 deletions
diff --git a/cockpit/cockpit.html b/cockpit/cockpit.html
index c80f7e0..1ba57c9 100644
--- a/cockpit/cockpit.html
+++ b/cockpit/cockpit.html
@@ -28,7 +28,7 @@
</p>
</div>
-<div id="student-content">
+<div id="student-content" style="display: none">
<div id="student-info">
<div id="student-info-top" class="student-info-banner">
<img id="student-info-icon"></img>
diff --git a/cockpit/js/cockpit.js b/cockpit/js/cockpit.js
index 3b54f67..f732cf0 100644
--- a/cockpit/js/cockpit.js
+++ b/cockpit/js/cockpit.js
@@ -222,6 +222,8 @@ function updateStudentInfo() {
renderGraduationStickers(student.graduation, document.getElementById("student-info-stickers"));
renderGraduationBonus(student.graduation, document.getElementById("student-info-stickers"));
}
+
+ document.getElementById("student-content").style.display = "block";
}
function renderGraduationLevel(graduation, node) {