From 8952a08e624720217bd4de7696ab5d5ec6ae27ee Mon Sep 17 00:00:00 2001 From: Zsolt Zitting Date: Mon, 17 Jun 2024 17:18:06 -0700 Subject: [PATCH] Hide official charts option if metadata failed to load --- main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/main.js b/main.js index a921852..77b14b9 100644 --- a/main.js +++ b/main.js @@ -155,6 +155,7 @@ if (remoteRun) { music_select.dispatchEvent(new Event('change')) }).catch(e => { console.error('failed loading music table', e) + toggle_officials.parentNode.style.display = 'none' }) fetch('sound/tap.wav').then(r => r.arrayBuffer()).then(r => {