diff --git a/static/script.js b/static/script.js
index d9566ff..51d25e0 100644
--- a/static/script.js
+++ b/static/script.js
@@ -41,14 +41,14 @@ $(document).ready(function() {
var newElement = '
\
' + dateString + '
\
';
- if (eventHistory[i].action == "fridge")
- newElement += '';
- else if (eventHistory[i].action == "tools")
- newElement += '';
if (eventHistory[i].name == "")
newElement += '' + eventHistory[i].cardID + '';
else
newElement += eventHistory[i].name;
+ if (eventHistory[i].action == "fridge")
+ newElement += ' ';
+ else if (eventHistory[i].action == "tools")
+ newElement += ' ';
newElement += '
\
';
newHistory += newElement;