aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/phenotypes
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/templates/phenotypes')
-rw-r--r--uploader/templates/phenotypes/add-phenotypes-raw-files.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/uploader/templates/phenotypes/add-phenotypes-raw-files.html b/uploader/templates/phenotypes/add-phenotypes-raw-files.html
index b88d16a..3c94a43 100644
--- a/uploader/templates/phenotypes/add-phenotypes-raw-files.html
+++ b/uploader/templates/phenotypes/add-phenotypes-raw-files.html
@@ -450,8 +450,8 @@
"#finput-phenotype-n"
].forEach((elementid) => {
$(elementid).on("change", (event) => {
- read_first_n_lines(
- event.target,
+ readFirstNLines(
+ event.target.files[0],
10,
[(data) => {
update_preview(