A few minor tweaks; remove unsupported platforms from download page

Fixes #51 along with a few other errors
This commit is contained in:
Matthew Holt 2020-07-31 18:50:14 -06:00
parent ba0cee8a47
commit 55b2a684c8
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5
4 changed files with 9 additions and 6 deletions

View file

@ -160,7 +160,7 @@ function beginRendering(json) {
console.log("DATA:", pageData);
// show notice if module is non-standard
if (!isStandard(pageData.structure.type_name)) {
if (pageData.structure.type_name && !isStandard(pageData.structure.type_name)) {
var projectHref = 'https://'+pageData.structure.type_name;
projectHref = substrBeforeLastDot(projectHref);
$('.nonstandard-project-link').attr('href', projectHref).text(projectHref);