diff --git a/static/script.js b/static/script.js
index 89c1063..579c056 100644
--- a/static/script.js
+++ b/static/script.js
@@ -176,7 +176,7 @@ function show_part_info(partID) {
$('#quantity-info').text(text_filter(data.quantity));
$('#notes-info').text(text_filter(data.notes));
if (data.datasheet != null)
- $('#datasheet-info').text('');
+ $('#datasheet-info').text('');
else
$('#datasheet-info').text(' ');
$('#edit-button').click(function() {