diff --git a/app.js b/app.js
index ed87c1e..7065ffb 100644
--- a/app.js
+++ b/app.js
@@ -115,8 +115,9 @@ function colorRoom(roomTitle, node, time = NOW /* QuantumLeap */) {
block.className += isFree ? " room-free" :
currentLecture.title === "Unassigned" ? " room-unassigned" : " room-in-use";
- block.querySelector('p').innerHTML = isFree ? 'Free (overflow)' :
- (currentLecture ? currentLecture.title : "Unassigned") +
+ const title = isFree ? "Free (overflow)" : currentLecture.title;
+
+ block.querySelector('p').innerHTML = title +
"
(" + formatTime(currentLecture.start) + " - " +
formatTime(currentLecture.end) + ")";
}
diff --git a/index.html b/index.html
index fbc53fa..680d81c 100644
--- a/index.html
+++ b/index.html
@@ -98,6 +98,6 @@
homework)
-
+