diff options
author | Frederick Muriuki Muriithi | 2025-10-13 12:01:18 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-10-13 13:13:57 -0500 |
commit | eecc17d9c7b79a31eed40ed72df9dc06eec9056d (patch) | |
tree | 97e69cff4ad4c88a93c422b421e8ccba89d261a9 /uploader/static/js/pubmed.js | |
parent | c348539518374a29b778084e96ba9af546f33cd3 (diff) | |
download | gn-uploader-eecc17d9c7b79a31eed40ed72df9dc06eec9056d.tar.gz |
Publications: Enable editing publication details.
Diffstat (limited to 'uploader/static/js/pubmed.js')
-rw-r--r-- | uploader/static/js/pubmed.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uploader/static/js/pubmed.js b/uploader/static/js/pubmed.js index 9afd4c3..f425f49 100644 --- a/uploader/static/js/pubmed.js +++ b/uploader/static/js/pubmed.js @@ -22,7 +22,7 @@ var extract_details = (pubmed_id, details) => { "journal": details[pubmed_id].fulljournalname, "volume": details[pubmed_id].volume, "pages": details[pubmed_id].pages, - "month": _date.length > 1 ? months[_date[1].toLowerCase()] : "jan", + "month": _date.length > 1 ? (months[_date[1].toLowerCase()] || "January") : "January", "year": _date[0], }; }; |