diff --git a/static/script.js b/static/script.js index 579c056..d4e4477 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').append($('')); else $('#datasheet-info').text(' '); $('#edit-button').click(function() {