diff --git a/fillcomments.js b/fillcomments.js index 4e01285..f8388b6 100644 --- a/fillcomments.js +++ b/fillcomments.js @@ -26,6 +26,12 @@ function doComments(id,qid) { .then(data => { // Output result //console.log(data); + const recordNo = parseInt(document.getElementById('record_no').textContent, 10); + if (recordNo <8){ + return; + } + + const parsed = JSON.parse(data); const div = document.getElementById(id);