js: Fix nonstandard module box display

Dunno why show() stopped working, but oh well
This commit is contained in:
Matthew Holt 2022-03-08 15:05:13 -07:00
parent 55df7ad25d
commit 2fb9ef5f23
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5

View file

@ -168,7 +168,7 @@ function beginRenderingInto($tpl, moduleID, module) {
let { pkg, _ } = splitTypeName(module.structure.type_name);
$('.nonstandard-project-link', $tpl).attr('href', module.repo).text(module.repo);
$('.nonstandard-package-path', $tpl).text(pkg);
$('.nonstandard-notice', $tpl).prepend(nonStandardFlag).show();
$('.nonstandard-notice', $tpl).css('display', 'block').prepend(nonStandardFlag); // for some reason show() dosen't work
}
var $repoName = $('<span/>').text(stripScheme(module.repo));