diff --git a/Klausur.html b/Klausur.html
index 69bb4be..4539599 100644
--- a/Klausur.html
+++ b/Klausur.html
@@ -305,7 +305,7 @@
*/
document.getElementById("clock").innerHTML = (now.getHours()<10?" ":"")+now.getHours() + ":" + (now.getMinutes()<10?"0":"")+now.getMinutes();
if(endTime!=null) {
- var dur = endTime-startTime;
+ var dur = endTime-examStartTime;
var rem = endTime-now;
var per = 100-(rem/dur*100);
document.getElementById("timebar").value=per;