diff --git a/neat.js b/neat.js index 10c3104..aebffce 100644 --- a/neat.js +++ b/neat.js @@ -48,7 +48,15 @@ function loadFile(evt, onComplete) { function setupInterface(data, file, urls) { - if (data.data.length <= 0) return null; + if (data.data.length <= 0) { + let empty_html = ` + File is empty. + Load another one. + `; + + $('#tableregion').html(empty_html); + return null; + } // private variables of app