diff --git a/parts/static/script.js b/parts/static/script.js index c47d389..517caa7 100644 --- a/parts/static/script.js +++ b/parts/static/script.js @@ -151,8 +151,7 @@ function show_part_info(partID) { $('table#details tr#description td input').val(text_filter(data.description)); container_onchange(); if (data.datasheet != null) { - $('tr#datasheet-head').html($('DATASHEET: ')); - $('#datasheet-input').val(data.datasheet); + $('tr#datasheet-head').html($('DATASHEET: ')); } else $('tr#datasheet-head td').text('DATASHEET: ');