Apply suggestions from code review

Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
mark5231 2023-01-05 09:28:57 -08:00 committed by GitHub
parent 5db134a859
commit 6ffa0782ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1051,11 +1051,7 @@ function renderStudio(page, item, context) {
studiosValue.innerHTML = html;
const studiosGroup = page.querySelector('.studiosGroup');
if (studios.length) {
studiosGroup.classList.remove('hide');
} else {
studiosGroup.classList.add('hide');
}
studiosGroup.classList.toggle('hide', !studios.length);
}
function renderMiscInfo(page, item) {