From 2fb9ef5f23af97c14880bbc542bdc13471e9e8c0 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 8 Mar 2022 15:05:13 -0700 Subject: [PATCH] js: Fix nonstandard module box display Dunno why show() stopped working, but oh well --- src/resources/js/docs-api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/js/docs-api.js b/src/resources/js/docs-api.js index eaa47e9..e013940 100644 --- a/src/resources/js/docs-api.js +++ b/src/resources/js/docs-api.js @@ -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 = $('').text(stripScheme(module.repo));