diff --git a/static/script.js b/static/script.js index d4e4477..45fed1d 100644 --- a/static/script.js +++ b/static/script.js @@ -80,7 +80,7 @@ function end_edit() { var datasheet_par = '

'; $('#datasheet-input').replaceWith(datasheet_par); - var newButton = '
'; + var newButton = '
'; $('.round-button').replaceWith(newButton); } @@ -228,7 +228,7 @@ $(document).ready(function() { newResults += ''; newResults += '
'; - if (data[i].notes != null && notes.length > 0) + if (data[i].notes != null && data[i].notes.length > 0) newResults += '
' + data[i].notes + '
'; //newResults += data[i].notes; newResults += '
';